io: add expected_directory_error
This commit is contained in:
parent
03f702df4c
commit
957c4d169f
6
io.hpp
6
io.hpp
@ -213,6 +213,12 @@ namespace cruft {
|
|||||||
std::filesystem::path const m_path;
|
std::filesystem::path const m_path;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
class expected_directory_error : public path_error {
|
||||||
|
using path_error::path_error;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
class stream_error : public std::exception {
|
class stream_error : public std::exception {
|
||||||
public:
|
public:
|
||||||
virtual const char* what (void) const noexcept
|
virtual const char* what (void) const noexcept
|
||||||
|
Loading…
Reference in New Issue
Block a user