W3cubDocs

/C++

std::system_error::what

virtual const char* what() const noexcept;
(since C++11)

Returns the explanatory string.

Parameters

(none).

Return value

Pointer to a null-terminated string with explanatory information.

See also

returns error code
(public member function)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/error/system_error/what