std::exception::what

From cppreference.com
 
 
 
 
 
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)