public member function
<system_error>

std::system_error::what

const char* what() const noexcept;
Get message associated to exception
Returns the message that describes the exception.

This message includes the string used on construction as what_arg, and -possibly- additional information, such as the message associated with the error_code.

Parameters

none

Return value

A C-string with the message describing the exception.

See also