std::error_category - cppreference.com

From cppreference.com

std::error_category serves as the base class for specific error category types, such as std::system_category, std::iostream_category, etc. Each specific category class defines the error_code - error_condition mapping and holds the explanatory strings for all error_conditions. The objects of error category classes are treated as singletons, passed by reference.

Member functions

constructs an error_category
(public member function) [edit]

[virtual]

destructs an error_category
(virtual public member function) [edit]

operator=

[deleted]

not copy assignable
(public member function) [edit]

[virtual]

obtains the name of the category
(virtual public member function) [edit]
maps error_code to error_condition
(virtual public member function) [edit]

[virtual]

compares error_code and error_condition for equivalence
(virtual public member function) [edit]

[virtual]

obtains the explanatory string
(virtual public member function) [edit]

(removed in C++20)(removed in C++20)(C++20)

compares two error categories
(function) [edit]

Specific error categories

See also