|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Exception thrown when a filesystem operation fails. More...
#include <magic_exception.hpp>


Public Member Functions | |
| FilesystemError (const std::string &path, const std::string &error_message) | |
| Construct FilesystemError with path and error description. | |
| Public Member Functions inherited from Recognition::MagicException | |
| MagicException (const std::string &function, const std::string &error_message) | |
| Construct MagicException with function name and error message. | |
Exception thrown when a filesystem operation fails.
This exception wraps errors from std::filesystem operations that fail due to OS-level issues (permissions, I/O errors, etc.).
|
inline |
Construct FilesystemError with path and error description.
| [in] | path | The path related to the error. |
| [in] | error_message | Description of the filesystem error. |