From 14cb83d0d70aa33135090aed2d6b750f69e189f3 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Sun, 14 May 2023 12:46:49 +0200 Subject: c++: Fixing error handling in old source --- src/io/io.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/io/io.h') 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 -- cgit v1.2.3