Sponge
CS144's user-space TCP library
|
Error category for getaddrinfo and getnameinfo failures. More...
Public Member Functions | |
string | message (const int return_value) const noexcept override |
An error message. More... | |
const char * | name () const noexcept override |
The name of the wrapped error. More... | |
Public Member Functions inherited from std::error_category | |
T | error_category (T... args) |
T | ~error_category (T... args) |
T | default_error_condition (T... args) |
T | equivalent (T... args) |
T | message (T... args) |
T | name (T... args) |
T | operator!= (T... args) |
T | operator< (T... args) |
T | operator== (T... args) |
Error category for getaddrinfo and getnameinfo failures.
Definition at line 32 of file address.cc.
|
inlineoverridenoexcept |
An error message.
[in] | return_value | the error return value from getaddrinfo(3) or getnameinfo(3) |
Definition at line 39 of file address.cc.
|
inlineoverridenoexcept |
The name of the wrapped error.
Definition at line 35 of file address.cc.