errors::invalid_input¶
Defined in header <mgs/errors/invalid_input.hpp>
.
class invalid_input;
Defines a type of object to be thrown as an exception. It reports input errors (that is, when the input does not represent a valid encoded result).
Inherits from decode_error.
Inherited from std::runtime_error¶
Constructors¶
explicit invalid_input(std::string const& what_arg); // 1
explicit invalid_input(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 |