mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 12:57:31 +02:00
error categories use numeric id
This commit is contained in:
committed by
Klemens Morgenstern
parent
97ece405b8
commit
aef9c88c9d
@ -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
|
||||
|
@ -27,6 +27,8 @@ public:
|
||||
return "beast.http";
|
||||
}
|
||||
|
||||
http_error_category() : error_category(0x964627da815bf210u) {}
|
||||
|
||||
std::string
|
||||
message(int ev) const override
|
||||
{
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user