error_code::message

Returns the name of the error code.

string message() const;

Return Value

A string representing the name of the error code.

Remarks

This member function returns category().message(value()).

Requirements

Header: <system_error>

Namespace: std

See Also

Reference

error_code Class