std::bad_exception(3)

std::bad_exception3

Usage

#include <exception>

Inherits std::exception.

Public Member Functions

virtual constexpr 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.

Member Function Documentation

virtual constexpr const char * std::bad_exception::what () const [inline], [constexpr], [virtual], [noexcept]

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

Reimplemented from std::exception.

Releases

4 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1
  2. 4.0
  3. 5.0
  4. Arch

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From gcc 16.2.1+r23+gd564253eb6c8-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.