Libmagicxx v10.0.3
A modern C++23 wrapper for libmagic — the library that powers the Unix file command.
Loading...
Searching...
No Matches
Recognition::PathDoesNotExist Class Referencefinal

Exception thrown when a specified path does not exist. More...

#include <magic_exception.hpp>

Inheritance diagram for Recognition::PathDoesNotExist:
Collaboration diagram for Recognition::PathDoesNotExist:

Public Member Functions

 PathDoesNotExist (const std::string &path)
 Construct PathDoesNotExist with the missing path.
Public Member Functions inherited from Recognition::MagicException
 MagicException (const std::string &function, const std::string &error_message)
 Construct MagicException with function name and error message.

Detailed Description

Exception thrown when a specified path does not exist.

This exception is thrown when any operation requires a path that must exist (file or directory) but the path cannot be found.

Since
10.0.0

Constructor & Destructor Documentation

◆ PathDoesNotExist()

Recognition::PathDoesNotExist::PathDoesNotExist ( const std::string & path)
inlineexplicit

Construct PathDoesNotExist with the missing path.

Parameters
[in]pathThe path that does not exist.
Since
10.0.0

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