diff options
author | Claudius Holeksa <mail@keldu.de> | 2023-05-14 12:46:49 +0200 |
---|---|---|
committer | Claudius Holeksa <mail@keldu.de> | 2023-05-14 12:46:49 +0200 |
commit | 14cb83d0d70aa33135090aed2d6b750f69e189f3 (patch) | |
tree | b12532e39a623ae7ed64e5985ad9c8a379d2da26 /src/io/io.h | |
parent | 61e51d8d71c5dbf4a92798fca7c1c325935b87be (diff) |
c++: Fixing error handling in old source
Diffstat (limited to 'src/io/io.h')
-rw-r--r-- | src/io/io.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/io/io.h b/src/io/io.h index bcc59fd..b2792dd 100644 --- a/src/io/io.h +++ b/src/io/io.h @@ -16,6 +16,11 @@ struct disconnected { static constexpr std::string_view description = "Disconnected"; static constexpr bool is_critical = true; }; + +struct resource_busy { + static constexpr std::string_view description = "Resource busy"; + static constexpr bool is_critical = false; +}; } /* * Input stream |