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) | |
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 | The description of the error. |