******************** errors::decode_error ******************** Defined in header ````. .. code-block:: cpp class decode_error; Defines a type of object to be thrown as an exception. It reports errors happening during decoding. Inherits from :doc:`exception `. ---- Inherited from :cpp:`std::runtime_error ` ============================================================== Constructors ------------ .. code-block:: cpp 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 :cpp:`what() `. Parameters ^^^^^^^^^^ **what_arg** -- explanatory string Exceptions ^^^^^^^^^^ May throw :cpp:`std::bad_alloc `. Inherited from :cpp:`std::exception ` ====================================================== Member functions ---------------- .. table:: :align: left ========================================================== ============================= :cpp:`(destructor) [virtual] ` Destroys the exception object :cpp:`what [virtual] ` Returns an explanatory string ========================================================== =============================