stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
Loading...
Searching...
No Matches
stlab::future_error Class Reference

Exception thrown when a future-related contract is violated (e.g. broken_promise, no_state). More...

#include <future.hpp>

Public Member Functions

 future_error (future_error_codes code)
auto code () const noexcept -> const future_error_codes &
 The error code that caused this exception.
auto what () const noexcept -> const char *override
 Human-readable message for the stored error code.

Detailed Description

Exception thrown when a future-related contract is violated (e.g. broken_promise, no_state).


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