| 60 | }; |
| 61 | |
| 62 | class BadPathException : public FilesystemException |
| 63 | { |
| 64 | public: |
| 65 | BadPathException(const Path& path): |
| 66 | FilesystemException(fmt::format("Bad path: '{}'", path.to_str())) |
| 67 | { |
| 68 | } |
| 69 | |
| 70 | BadPathException(): FilesystemException("Bad path") {} |
| 71 | |
| 72 | BadPathException(const std::string& msg): FilesystemException(msg) {} |
| 73 | }; |
| 74 | |
| 75 | class FileNotFoundException : public FilesystemException |
| 76 | { |
no outgoing calls
no test coverage detected