function
<system_error>

std::generic_category

const error_category& generic_category() noexcept;
Return generic category
Returns a reference to the static object of the error_category type that has the following characteristics:

error_condition objects describing errors that correspond to those defined in <cerrno> are associated to this category. What constitutes one of these correspondences depends on the operating system and the particular library implementation.

Parameters

none

Return value

A reference to the generic error_category object.

See also