summaryrefslogtreecommitdiff
path: root/forstio/io/io.h
diff options
context:
space:
mode:
authorClaudius Holeksa <mail@keldu.de>2023-05-02 17:54:06 +0200
committerClaudius Holeksa <mail@keldu.de>2023-05-02 17:54:06 +0200
commit652c5eb52338111b89de5842ec2c63c4f693debc (patch)
treeec2c591fe9189f10acead8cf07b4d82225d6fbdc /forstio/io/io.h
parent3b14232d439428e1536e1fbe06e9d64a61a275a4 (diff)
c++: renamed to snake_case and changed to new errors in io-tls
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
*/