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

Exception thrown when magic::set_flags fails. More...

#include <magic_exception.hpp>

Inheritance diagram for recognition::magic_set_flags_error:
Collaboration diagram for recognition::magic_set_flags_error:

Public Member Functions

 magic_set_flags_error (const std::string &error_message, const std::string &flag_names)
 Construct magic_set_flags_error with an error message and the names of the flags.
 
- 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_flags fails.

Constructor & Destructor Documentation

◆ magic_set_flags_error()

recognition::magic_set_flags_error::magic_set_flags_error ( const std::string & error_message,
const std::string & flag_names )
inline

Construct magic_set_flags_error with an error message and the names of the flags.

Parameters
[in]error_messageThe description of the error.
[in]flag_namesThe names of the flags.

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