Error category.
More...
#include <error.hpp>
|
| virtual const char * | name () const noexcept |
| | Get error category name.
|
| |
| virtual std::string | message (int code) const |
| | Translate 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.
|
| |
◆ equivalent()
| bool ErrorCategory::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 ErrorCategory::message |
( |
int | code | ) |
const |
|
virtual |
Translate error code to human readable error string.
- Parameters
-
- Returns
- Human readable error string.
◆ name()
| const char * ErrorCategory::name |
( |
| ) |
const |
|
virtualnoexcept |
Get error category name.
- Returns
- Error category name.
The documentation for this class was generated from the following files: