Class to represent an error code value.
class error_code
Name |
Description |
---|---|
Name |
Description |
---|---|
Get the error category. |
|
Default constructor. Construct with specific error code and category. Construct from an error code enum. |
|
Get the message associated with the error. |
|
Operator returns non-null if there is a non-success error code. |
|
Operator to test if the error represents success. |
|
Get the error value. |
Name |
Description |
---|---|
Inequality operator to compare two error objects. |
|
Equality operator to compare two error objects. |
Header: asio/error_code.hpp
Convenience header: asio.hpp