Skip to content

futures/error.hpp

Future error types.

#include <futures/error.hpp>

Namespaces

Name Description
futures Main library namespace.

Classes

Classes Description
error Class for errors in the futures library.
(class)
broken_promise The state owner got destroyed before the promise has been fulfilled.
(class)
future_already_retrieved Attempted to retrieve a unique future twice.
(class)
promise_already_satisfied Promise has already been fulfilled.
(class)
no_state There is no shared state we can access.
(class)
promise_uninitialized The promised hasn't been initialized yet.
(class)
packaged_task_uninitialized The packaged task hasn't been initialized yet.
(class)
future_uninitialized The future hasn't been initialized yet.
(class)
future_deferred Invalid operation on deferred future.
(class)

Description

This file defines error types used by futures types and algorithms.


Updated on 2023-01-04