![]() |
nomlib
|
Exception type used to report filesystem errors. More...
#include <filesystem.hpp>
Public Member Functions | |
| filesystem_error (const std::string &what_arg, const path &p1, std::error_code ec) | |
| filesystem_error (const std::string &what_arg, const path &p1, const path &p2, std::error_code ec) | |
| const path & | path1 () const noexcept |
| Return the first path associated with the error. | |
| const path & | path2 () const noexcept |
| Return the second path associated with the error, if any. | |
| const char * | what () const noexcept override |
| Return a message describing the error and the involved paths. | |
Private Attributes | |
| path | path1_ |
| path | path2_ |
| std::string | what_ |
Exception type used to report filesystem errors.
Mirrors the interface described in ISO/IEC TS 18822:2015 (N4100) and Boost.Filesystem. The exception stores the path(s) involved and the error code, and its what() string includes the supplied reason, the path(s), and the system error message.
Definition at line 394 of file filesystem.hpp.
|
private |
Definition at line 413 of file filesystem.hpp.
|
private |
Definition at line 414 of file filesystem.hpp.
|
mutableprivate |
Definition at line 415 of file filesystem.hpp.