summaryrefslogtreecommitdiff
path: root/forstio/io/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'forstio/io/io.h')
-rw-r--r--forstio/io/io.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/forstio/io/io.h b/forstio/io/io.h
index 4a87da5..bcc59fd 100644
--- a/forstio/io/io.h
+++ b/forstio/io/io.h
@@ -8,6 +8,15 @@
#include <variant>
namespace saw {
+/**
+ * Set of error common in io
+ */
+namespace err {
+struct disconnected {
+ static constexpr std::string_view description = "Disconnected";
+ static constexpr bool is_critical = true;
+};
+}
/*
* Input stream
*/