future_error Class

 

The latest version of this topic can be found at 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