diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-01 12:18:57 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2023-07-01 12:18:57 +0200 |
commit | 9d237c68b7ce6cdefc645daad5fa1fc57a2d80be (patch) | |
tree | 26bb3bbada0a23df7ed1501f3dd5454d49732a8d /src/core | |
parent | 84de66e6147d2fb50f84001a297cf941083849f9 (diff) |
c++,core,codec-json: Changed an error
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/error.h | 5 |
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; +}; } /** |