|
stlab 2.3.0
Modern, modular C++ algorithms, data structures, and concurrency primitives
|
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. | |
Exception thrown when a future-related contract is violated (e.g. broken_promise, no_state).