Edit

Share via


future_error class

Describes an exception object that can be thrown by methods of types that manage future objects.

Syntax

class future_error : public logic_error {
public:
    future_error(error_code code);

const error_code& code() const throw();

const char *what() const throw();
};

Requirements

Header: <future>

Namespace: std

See also

Header Files Reference
logic_error class
error_code class