|
Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
|
Exception thrown when an operation is attempted on a closed Magic instance. More...
#include <magic_exception.hpp>


Public Member Functions | |
| MagicIsClosed () | |
| Construct MagicIsClosed 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 an operation is attempted on a closed Magic instance.
This exception is thrown when methods like IdentifyFile(), SetFlags(), or LoadDatabaseFile() are called on a Magic instance that has been closed.
|
inline |
Construct MagicIsClosed exception.