From 9b81a2585142260f89d47cbe1e592cec9e1f778f Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Wed, 3 May 2023 19:07:24 +0200 Subject: Not implemented --- forstio/codec/proto_kel.h | 4 ++-- forstio/core/error.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/forstio/codec/proto_kel.h b/forstio/codec/proto_kel.h index c28f7d6..3b4ebac 100644 --- a/forstio/codec/proto_kel.h +++ b/forstio/codec/proto_kel.h @@ -30,11 +30,11 @@ class codec { private: public: error_or> decode(const data& encoded){ - return make_error(); + return make_error(); } error_or> encode(const data& native){ - return make_error(); + return make_error(); } }; } diff --git a/forstio/core/error.h b/forstio/core/error.h index 9708a07..3d242b9 100644 --- a/forstio/core/error.h +++ b/forstio/core/error.h @@ -149,6 +149,11 @@ struct not_supported { static constexpr std::string_view description = "Not supported"; static constexpr bool is_critical = false; }; + +struct not_implemented { + static constexpr std::string_view description = "Not implemented"; + static constexpr bool is_critical = true; +}; } /** -- cgit v1.2.3