std::error_code::category - cppreference.com

From cppreference.com

conststd::error_category&category()constnoexcept;(since C++11)Returns the error category of the error code.

Return value

The error category of the error code.

Example

See also

obtains the value of the error_code
(public member function)

[edit]