libstdc++
Public Member Functions | List of all members
std::bad_exception Class Reference
Inheritance diagram for std::bad_exception:
[legend]

Public Member Functions

constexpr virtual const char * what () const noexcept
 

Detailed Description

If an exception is thrown which is not listed in a function's exception specification, one of these may be thrown.

Definition at line 58 of file exception.

Member Function Documentation

◆ what()

constexpr virtual const char* std::bad_exception::what ( ) const
inlineconstexprvirtualnoexcept

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.

Definition at line 68 of file exception.


The documentation for this class was generated from the following file: