summaryrefslogtreecommitdiff
path: root/src/core/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/error.cpp')
-rw-r--r--src/core/error.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/error.cpp b/src/core/error.cpp
index 9520972..e777c84 100644
--- a/src/core/error.cpp
+++ b/src/core/error.cpp
@@ -32,7 +32,7 @@ const std::string_view error::get_message() const {
}
bool error::failed() const {
- return this->is_type<err::no_error>();
+ return !this->is_type<err::no_error>();
}
bool error::is_critical() const {