From 9d237c68b7ce6cdefc645daad5fa1fc57a2d80be Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 1 Jul 2023 12:18:57 +0200 Subject: c++,core,codec-json: Changed an error --- src/core/error.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/core') 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; +}; } /** -- cgit v1.2.3