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

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

#include <magic_exception.hpp>

Inheritance diagram for recognition::magic_load_database_file_error:
Collaboration diagram for recognition::magic_load_database_file_error:

Public Member Functions

 magic_load_database_file_error (const std::string &error_message, const std::string &database_file_path)
 Construct magic_load_database_file_error with an error message and the path of the database file.
 
- 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::load_database_file fails.

Constructor & Destructor Documentation

◆ magic_load_database_file_error()

recognition::magic_load_database_file_error::magic_load_database_file_error ( const std::string & error_message,
const std::string & database_file_path )
inline

Construct magic_load_database_file_error with an error message and the path of the database file.

Parameters
[in]error_messageThe description of the error.
[in]database_file_pathThe path of the magic database file.

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