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

Exception thrown when the underlying std::filesystem OS API fails. More...

#include <magic_exception.hpp>

Inheritance diagram for recognition::filesystem_error:
Collaboration diagram for recognition::filesystem_error:

Public Member Functions

 filesystem_error (const std::string &path, const std::string &error_message)
 Construct filesystem_error with a path and an error message.
 
- 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 the underlying std::filesystem OS API fails.

Constructor & Destructor Documentation

◆ filesystem_error()

recognition::filesystem_error::filesystem_error ( const std::string & path,
const std::string & error_message )
inline

Construct filesystem_error with a path and an error message.

Parameters
[in]pathThe path related to the error.
[in]error_messageThe description of the error.

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