.TH "std::future_error" 3cxx "Fri May 28 2021" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::future_error \- Exception type thrown by futures\&. .SH SYNOPSIS .br .PP .PP Inherits \fBstd::logic_error\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBfuture_error\fP (\fBfuture_errc\fP __errc)" .br .ti -1c .RI "const \fBerror_code\fP & \fBcode\fP () const noexcept" .br .ti -1c .RI "virtual const char * \fBwhat\fP () const noexcept" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "void \fB__throw_future_error\fP (int)" .br .in -1c .SH "Detailed Description" .PP Exception type thrown by futures\&. .PP Definition at line 96 of file future\&. .SH "Member Function Documentation" .PP .SS "virtual const char* std::future_error::what () const\fC [virtual]\fP, \fC [noexcept]\fP" Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor)\&. .PP Reimplemented from \fBstd::logic_error\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.