std::filesystem::filesystem_error

定义于头文件 <filesystem>
class filesystem_error;
(C++17 起)

std::filesystem::filesystem_error 定义文件系统库中函数的抛出版重载所抛出的异常对象。

目录

成员函数

构造错误对象
(公开成员函数)
返回导致错误的操作所涉及的路径
(公开成员函数)
返回解释性字符串
(公开成员函数)

继承自 std::system_error

成员函数

返回错误码
(std::system_error 的公开成员函数)
[虚]
返回解释性字符串
(std::system_error 的虚公开成员函数)

继承自 std::runtime_error


继承自 std::exception

成员函数

析构该异常对象
(std::exception 的虚公开成员函数)
[虚]
返回解释性字符串
(std::exception 的虚公开成员函数)

示例

版本历史

  • (当前 | 先前 2017年4月30日 (日) 06:45Fruderica讨论 | 贡献 . . (687字节) (-8). . (撤销)
  • 当前 | 先前) 2017年4月30日 (日) 06:45Fruderica讨论 | 贡献. . (695字节) (+695). . (以“{{cpp/filesystem/title|filesystem_error}} {{cpp/filesystem/navbar}} {{dcl begin}} {{dcl header | filesystem}} {{dcl | since=c++17 | 1= class filesystem_error; }} {{d...”为内容创建页面)