std::filesystem::filesystem_error::filesystem_error (3) - Linux Manuals

std::filesystem::filesystem_error::filesystem_error: std::filesystem::filesystem_error::filesystem_error

NAME

std::filesystem::filesystem_error::filesystem_error - std::filesystem::filesystem_error::filesystem_error

Synopsis


filesystem_error( const std::string& what_arg, (1) (since C++17)
std::error_code ec );
filesystem_error( const std::string& what_arg,
const std::filesystem::path& p1, (2) (since C++17)
std::error_code ec );
filesystem_error( const std::string& what_arg,
const std::filesystem::path& p1, (3) (since C++17)
const std::filesystem::path& p2,
std::error_code ec );


Constructs a new filesystem error object. The error code is set to ec and optionally, the paths that were involved in the operation that resulted in the error, are set to p1 and p2. what() after construction returns a string that contains what_arg.

Parameters


 This section is incomplete

Example


 This section is incomplete
 Reason: no example