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


Public Member Functions | |
| MagicSetFlagsError (const std::string &error_message, const std::string &flag_names) | |
| Construct MagicSetFlagsError 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::SetFlags() fails.
This exception indicates that the specified flags could not be set. This typically occurs with invalid flag combinations.
|
inline |
Construct MagicSetFlagsError with details.
| [in] | error_message | Description of why setting flags failed. |
| [in] | flag_names | String representation of the flags that failed. |