|
Libmagicxx v9.0.2
A C++ wrapper library over the Magic Number Recognition Library.
|
The base class for all exceptions thrown by the magic class. More...
#include <magic_exception.hpp>


Public Member Functions | |
| 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. | |
The base class for all exceptions thrown by the magic class.
|
inline |
Construct magic_exception with an error message and the name of the funtion where the error occurred.
| [in] | function | The name of the funtion. |
| [in] | error_message | The description of the error. |