The base class for all exceptions thrown by the magic class.
More...
#include <magic_exception.hpp>
The base class for all exceptions thrown by the magic class.
◆ magic_exception() [1/2]
recognition::magic_exception::magic_exception |
( |
const std::string & | error | ) |
|
|
inlineexplicit |
Construct magic_exception with an error message.
- Parameters
-
[in] | error | The description of the error. |
◆ magic_exception() [2/2]
recognition::magic_exception::magic_exception |
( |
const std::string & | function, |
|
|
const std::string & | error ) |
|
inline |
Construct magic_exception with an error message and the name of the funtion where the error occurred.
- Parameters
-
[in] | function | The name of the funtion. |
[in] | error | The description of the error. |
The documentation for this class was generated from the following file: