cpp/error/error category/default error condition

Returns the error condition for the given error code.

Equivalent to.

Classes derived from may override this function to map certain error codes to a generic category. For example, std overrides this function to map the error codes that match POSIX errno values to std.

Return value
The error condition for the given error code.