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


Public Member Functions | |
| MagicSetParameterError (const std::string &error_message, const std::string ¶meter_name, std::size_t value) | |
| Construct MagicSetParameterError 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::SetParameter() fails.
This exception indicates that the specified parameter could not be set. This may occur when setting a parameter to an invalid value.
|
inline |
Construct MagicSetParameterError with details.
| [in] | error_message | Description of why setting the parameter failed. |
| [in] | parameter_name | Name of the parameter that failed. |
| [in] | value | The value that was attempted to set. |