std::future_error(3cxx)

std::future_error3cxx

Exception type thrown by futures.

Usage

#include <future>

Inherits std::logic_error.

Public Member Functions

future_error (future_errc __errc)
const error_code & code () const noexcept
virtual const char * what () const noexcept

Friends

void __throw_future_error (int)

Detailed Description

Exception type thrown by futures.

Since

C++11

Member Function Documentation

virtual const char * std::future_error::what () const [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).

Reimplemented from std::logic_error.

Releases

6 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Author

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

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.