Libmagicxx v9.0.2
A C++ wrapper library over the Magic Number Recognition Library.
Loading...
Searching...
No Matches
recognition::magic_set_parameter_error Class Referencefinal

Exception thrown when magic::set_parameter(s) fails. More...

#include <magic_exception.hpp>

Inheritance diagram for recognition::magic_set_parameter_error:
Collaboration diagram for recognition::magic_set_parameter_error:

Public Member Functions

 magic_set_parameter_error (const std::string &error_message, const std::string &parameter_name, std::size_t value)
 Construct magic_set_parameter_error with an error message, the name of the parameter and its value.
 
- Public Member Functions inherited from recognition::magic_exception
 magic_exception (const std::string &function, const std::string &error_message)
 Construct magic_exception with an error message and the name of the funtion where the error occurred.
 

Detailed Description

Exception thrown when magic::set_parameter(s) fails.

Constructor & Destructor Documentation

◆ magic_set_parameter_error()

recognition::magic_set_parameter_error::magic_set_parameter_error ( const std::string & error_message,
const std::string & parameter_name,
std::size_t value )
inline

Construct magic_set_parameter_error with an error message, the name of the parameter and its value.

Parameters
[in]error_messageThe description of the error.
[in]parameter_nameThe name of the parameter.
[in]valueThe value of the parameter.

The documentation for this class was generated from the following file: