diff --git a/include/boost/beast/core/impl/error.ipp b/include/boost/beast/core/impl/error.ipp index 0b301577..4cf43d76 100644 --- a/include/boost/beast/core/impl/error.ipp +++ b/include/boost/beast/core/impl/error.ipp @@ -26,6 +26,9 @@ public: return "boost.beast"; } + error_codes() : error_category(0x002f6e94401c6e8bu) {} + + BOOST_BEAST_DECL std::string message(int ev) const override @@ -62,6 +65,9 @@ public: return "boost.beast"; } + error_conditions() : error_category(0x3dd0b0ce843c5b10u) {} + + BOOST_BEAST_DECL std::string message(int cv) const override diff --git a/include/boost/beast/http/impl/error.ipp b/include/boost/beast/http/impl/error.ipp index 439b691b..c1ee2366 100644 --- a/include/boost/beast/http/impl/error.ipp +++ b/include/boost/beast/http/impl/error.ipp @@ -27,6 +27,8 @@ public: return "beast.http"; } + http_error_category() : error_category(0x964627da815bf210u) {} + std::string message(int ev) const override { diff --git a/include/boost/beast/websocket/impl/error.ipp b/include/boost/beast/websocket/impl/error.ipp index 68296dc4..7256a464 100644 --- a/include/boost/beast/websocket/impl/error.ipp +++ b/include/boost/beast/websocket/impl/error.ipp @@ -20,6 +20,9 @@ namespace detail { class error_codes : public error_category { public: + + error_codes() : error_category(0x065d7edd7687edafu ) {} + const char* name() const noexcept override { @@ -123,6 +126,9 @@ public: return "boost.beast.websocket"; } + error_conditions() : error_category(0x7a8de5d61799ce9eu) {} + + std::string message(int cv) const override {