|
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 directory but is not. More...
#include <magic_exception.hpp>


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