DOKK / manpages / debian 12 / libstdc++-11-doc / std::future_error.3cxx.en
std::future_error(3cxx) std::future_error(3cxx)

std::future_error - Exception type thrown by futures.

Inherits std::logic_error.


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


void __throw_future_error (int)

Exception type thrown by futures.

Definition at line 95 of file future.

Definition at line 99 of file future.

Definition at line 109 of file future.

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.

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

Thu Feb 16 2023 libstdc++