Libmagicxx v9.0.2
A C++ wrapper library over the Magic Number Recognition Library.
|
Exception thrown when the underlying std::filesystem OS API fails. More...
#include <magic_exception.hpp>
Public Member Functions | |
filesystem_error (const std::string &path, const std::string &error_message) | |
Construct filesystem_error with a path and an error message. | |
![]() | |
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 the underlying std::filesystem OS API fails.
|
inline |
Construct filesystem_error with a path and an error message.
[in] | path | The path related to the error. |
[in] | error_message | The description of the error. |