summaryrefslogtreecommitdiff
path: root/src/core/error.h
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2023-07-01 12:18:57 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2023-07-01 12:18:57 +0200
commit9d237c68b7ce6cdefc645daad5fa1fc57a2d80be (patch)
tree26bb3bbada0a23df7ed1501f3dd5454d49732a8d /src/core/error.h
parent84de66e6147d2fb50f84001a297cf941083849f9 (diff)
c++,core,codec-json: Changed an error
Diffstat (limited to 'src/core/error.h')
-rw-r--r--src/core/error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/error.h b/src/core/error.h
index 493147f..abd979b 100644
--- a/src/core/error.h
+++ b/src/core/error.h
@@ -159,6 +159,11 @@ struct not_implemented {
static constexpr std::string_view description = "Not implemented";
static constexpr bool is_critical = true;
};
+
+struct already_exists {
+ static constexpr std::string_view description = "Already exists";
+ static constexpr bool is_critical = false;
+};
}
/**