From Jason Turner

[fs.class.filesystem.error.general]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpck85jo73/{from.md → to.md} +23 -0
tmp/tmpck85jo73/{from.md → to.md} RENAMED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### General <a id="fs.class.filesystem.error.general">[[fs.class.filesystem.error.general]]</a>
2
+
3
+ ``` cpp
4
+ namespace std::filesystem {
5
+ class filesystem_error : public system_error {
6
+ public:
7
+ filesystem_error(const string& what_arg, error_code ec);
8
+ filesystem_error(const string& what_arg,
9
+ const path& p1, error_code ec);
10
+ filesystem_error(const string& what_arg,
11
+ const path& p1, const path& p2, error_code ec);
12
+
13
+ const path& path1() const noexcept;
14
+ const path& path2() const noexcept;
15
+ const char* what() const noexcept override;
16
+ };
17
+ }
18
+ ```
19
+
20
+ The class `filesystem_error` defines the type of objects thrown as
21
+ exceptions to report file system errors from functions described in
22
+ subclause  [[filesystems]].
23
+