W3cubDocs

/C++

std::bad_exception::what

virtual const char* what() const noexcept;

Returns the explanatory string.

Parameters

(none).

Return value

Pointer to a null-terminated string with explanatory information.

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