Scroll to navigation

std::error_code::category(3) C++ Standard Libary std::error_code::category(3)

NAME

std::error_code::category - std::error_code::category

Synopsis

const std::error_category& category() const noexcept; (since C++11)

Returns the error category of the error code.

Parameters

(none)

Return value

The error category of the error code.

See also

value obtains the value of the error_code
(public member function)

2026.11.10 http://cppreference.com