From 5ca077154f9e1a41618e301d64f0cc1661d06214 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sun, 9 Jul 2023 22:22:29 +0200 Subject: c++,core: Fixed an error with the unique error category. --- src/core/error.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/error.h') diff --git a/src/core/error.h b/src/core/error.h index abd979b..d057877 100644 --- a/src/core/error.h +++ b/src/core/error.h @@ -121,12 +121,12 @@ struct no_error { }; struct recoverable { - static constexpr std::string_view description = "No error has occured"; + static constexpr std::string_view description = "Generic recoverable error"; static constexpr bool is_critical = false; }; struct critical { - static constexpr std::string_view description = "No error has occured"; + static constexpr std::string_view description = "Generic critical error"; static constexpr bool is_critical = true; }; -- cgit v1.2.3