다음을 통해 공유


future_error 클래스

future 개체를 관리하는 형식의 메서드에서 throw될 수 있는 예외 개체를 설명합니다.

구문

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

const error_code& code() const throw();

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

요구 사항

헤더<future>:

네임스페이스:std

참고 항목

헤더 파일 참조
logic_error 클래스
error_code 클래스