|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Exception thrown when a path is expected to be a regular file but is not. More...
#include <magic_exception.hpp>


Public Member Functions | |
| PathIsNotRegularFile (const std::string &path) | |
| Construct PathIsNotRegularFile with the invalid path. | |
| 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 path is expected to be a regular file but is not.
This exception is thrown by Magic::LoadDatabaseFile() when the specified database file path exists but is not a regular file (e.g., it's a directory).
|
inlineexplicit |
Construct PathIsNotRegularFile with the invalid path.
| [in] | path | The path that is not a regular file. |