◐ Shell
clean mode source ↗

std::error_code - cppreference.com

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 std::error_category, 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) [edit]
assigns another error code
(public member function) [edit]
assigns another error code
(public member function) [edit]
Modifiers
sets the error_code to value 0 in system_category
(public member function) [edit]
Observers
obtains the value of the error_code
(public member function) [edit]
obtains the error_category for this error_code
(public member function) [edit]
obtains the error_condition for this error_code
(public member function) [edit]
obtains the explanatory string for this error_code
(public member function) [edit]
checks if the value is non-zero
(public member function) [edit]

Non-member functions

Helper classes

See also