From cppreference.com
std::error_code represents a platform-dependent error code value. Each std::error_code object holds an error code value originating from the operating system or some low-level interface and a pointer to an object of type
, which corresponds to the said interface. The error code values are not required to be unique across different error categories.
Member functions
constructs an error code
(public member function)
assigns another error code
(public member function)
assigns another error code
(public member function)
Modifiers
sets the error_code to value 0 in system_category
(public member function)
Observers
obtains the value of the error_code
(public member function)
obtains the error_category for this error_code
(public member function)
obtains the error_condition for this error_code
(public member function)
obtains the explanatory string for this error_code
(public member function)
checks if the value is non-zero
(public member function)
Non-member functions
Helper classes
See also