Network input/output error.
More...
#include <ioException.hpp>
Network input/output error.
The error code is available with code() : std::generic_category for system errors (errno values), addrinfoCategory for address resolution errors.
- Author
- Vincent Lachenal
◆ IOException() [1/2]
| anch::network::IOException::IOException |
( |
const std::string & | message, |
|
|
int | errnum = errno ) |
|
explicit |
IOException constructor
- Parameters
-
| message | the error message |
| errnum | the errno value (default to current errno ) |
◆ IOException() [2/2]
| anch::network::IOException::IOException |
( |
const std::string & | message, |
|
|
const std::error_code & | code ) |
IOException constructor
- Parameters
-
| message | the error message |
| code | the error code |
- Since
- 0.2
◆ ~IOException()
| virtual anch::network::IOException::~IOException |
( |
| ) |
|
|
virtualnoexcept |
The documentation for this class was generated from the following file: