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


Public Member Functions | |
| MagicLoadDatabaseFileError (const std::string &error_message, const std::string &database_file_path) | |
| Construct MagicLoadDatabaseFileError with details. | |
| 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 Magic::LoadDatabaseFile() fails.
This exception indicates that the magic database file could not be loaded. Common causes include invalid or corrupted database files.
|
inline |
Construct MagicLoadDatabaseFileError with details.
| [in] | error_message | Description of why loading failed. |
| [in] | database_file_path | Path to the database file that failed to load. |