asio C++ library

PrevUpHomeNext

error_code

Class to represent an error code value.

class error_code
Types

Name

Description

unspecified_bool_type_t

unspecified_bool_type

value_type

The underlying representation of an error code.

Member Functions

Name

Description

category

Get the error category.

error_code

Default constructor.

message

Get the message associated with the error.

operator unspecified_bool_type

Operator returns non-null if there is a non-success error code.

operator!

Operator to test if the error represents success.

unspecified_bool_true

value

Get the error value.

Friends

Name

Description

operator!=

Inequality operator to compare two error objects.

operator==

Equality operator to compare two error objects.


PrevUpHomeNext