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

Exception thrown from magic::identify_files(directory) when the path is not a directory. More...

#include <magic_exception.hpp>

Inheritance diagram for recognition::path_is_not_directory:
Collaboration diagram for recognition::path_is_not_directory:

Public Member Functions

 path_is_not_directory (const std::string &path)
 Construct path_is_not_directory with the path that is not a directory.
 
- 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 from magic::identify_files(directory) when the path is not a directory.

Constructor & Destructor Documentation

◆ path_is_not_directory()

recognition::path_is_not_directory::path_is_not_directory ( const std::string & path)
inlineexplicit

Construct path_is_not_directory with the path that is not a directory.

Parameters
[in]pathThe path that is not a regular file.

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