Libmagicxx v9.0.2
A C++ wrapper library over the Magic Number Recognition Library.
|
Exception thrown when magic::set_parameter(s) fails. More...
#include <magic_exception.hpp>
Public Member Functions | |
magic_set_parameter_error (const std::string &error_message, const std::string ¶meter_name, std::size_t value) | |
Construct magic_set_parameter_error with an error message, the name of the parameter and its value. | |
![]() | |
magic_exception (const std::string &function, const std::string &error_message) | |
Construct magic_exception with an error message and the name of the funtion where the error occurred. | |
Exception thrown when magic::set_parameter(s) fails.
|
inline |
Construct magic_set_parameter_error with an error message, the name of the parameter and its value.
[in] | error_message | The description of the error. |
[in] | parameter_name | The name of the parameter. |
[in] | value | The value of the parameter. |