HTTP API generic error category.
More...
#include <httpmessage.hpp>
|
| virtual const char * | name () const noexcept |
| | get HTTP API generic error category name.
|
| |
| virtual std::string | message (int code) const |
| | translate HTTP API generic error code to human readable error string.
|
| |
| virtual bool | equivalent (const std::error_code &code, int condition) const noexcept |
| | find equivalent from Errc to system error code.
|
| |
HTTP API generic error category.
◆ equivalent()
| bool HttpCategory::equivalent |
( |
const std::error_code & | code, |
|
|
int | condition ) const |
|
virtualnoexcept |
find equivalent from Errc to system error code.
- Parameters
-
| code | System error code. |
| condition | Errc. |
- Returns
- true if equivalent, false otherwise.
◆ message()
| std::string HttpCategory::message |
( |
int | code | ) |
const |
|
virtual |
translate HTTP API generic error code to human readable error string.
- Parameters
-
- Returns
- human readable error string.
◆ name()
| const char * HttpCategory::name |
( |
| ) |
const |
|
virtualnoexcept |
get HTTP API generic error category name.
- Returns
- deserializer generic error category name.
The documentation for this class was generated from the following files: