errors::decode_error¶
Defined in header <mgs/errors/decode_error.hpp>
.
class decode_error;
Defines a type of object to be thrown as an exception. It reports errors happening during decoding.
Inherits from exception.
Inherited from std::runtime_error¶
Constructors¶
explicit decode_error(std::string const& what_arg); // 1
explicit decode_error(char const* what_arg); // 2
Constructs the exception object with what_arg as explanatory string that can be accessed through what().
Parameters¶
what_arg – explanatory string
Exceptions¶
May throw std::bad_alloc.
Inherited from std::exception¶
Member functions¶
Destroys the exception object |
|
Returns an explanatory string |