future_error Class

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

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

Reference

logic_error Class

error_code Class

Other Resources

C++ Standard Library Header Files