std::exception::what

From Cppreference

Jump to: navigation, search
virtual const char* what() const;

Returns the explanatory string.

[edit] Parameters

(none)

[edit] Return value

Pointer to a null-terminated string with explanatory information.

[edit] Exceptions

noexcept specification:  
noexcept

  (since C++11)