From 957c4d169f5f31f8d517ce1de2d154a440c66a60 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Thu, 14 Jan 2021 12:54:24 +1000 Subject: [PATCH] io: add `expected_directory_error` --- io.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/io.hpp b/io.hpp index 347a67c5..00007e1e 100644 --- a/io.hpp +++ b/io.hpp @@ -213,6 +213,12 @@ namespace cruft { std::filesystem::path const m_path; }; + + class expected_directory_error : public path_error { + using path_error::path_error; + }; + + class stream_error : public std::exception { public: virtual const char* what (void) const noexcept