summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2023-07-09 22:22:29 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2023-07-09 22:23:13 +0200
commit5ca077154f9e1a41618e301d64f0cc1661d06214 (patch)
tree0f2eb8efb80f1aca2ebbb7a02a9f289f9c923bbf
parentd205153060b58af342cc47c48973f10129417eef (diff)
c++,core: Fixed an error with the unique error category.
-rw-r--r--src/core/error.h4
1 files changed, 2 insertions, 2 deletions
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;
};