std::filesystem::filesystem_error::path1, std::filesystem::filesystem_error::path2

const std::filesystem::path& path1() const noexcept;
(since C++17)
const std::filesystem::path& path2() const noexcept;
(since C++17)

Returns the paths that were stored in the exception object.

Parameters

(none).

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/filesystem/filesystem_error/path