std::exception::what
From Cppreference
< cpp | error | exception/exception
| C++ Standard Library | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Utilities library | |||||||||||||||||||||||||||||
| Error handling | |||||||||||||||||||||||||||||
| std::exception | |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| virtual const char* what() const;
|
||
Returns the explanatory string.
[edit] Parameters
(none)
[edit] Return value
Pointer to a null-terminated string with explanatory information.