|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Exception thrown when file identification is attempted without a loaded database. More...
#include <magic_exception.hpp>


Public Member Functions | |
| MagicDatabaseNotLoaded () | |
| Construct MagicDatabaseNotLoaded exception. | |
| 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 file identification is attempted without a loaded database.
This exception is thrown when IdentifyFile() or IdentifyFiles() is called but no magic database has been loaded via LoadDatabaseFile().
|
inline |
Construct MagicDatabaseNotLoaded exception.