.TH "std::ios_base::failure" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::ios_base::failure \- These are thrown to indicate problems with io\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::exception\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBfailure\fP (const char *\fB__s\fP, const \fBerror_code\fP &=\fBerror_code\fP{})" .br .ti -1c .RI "\fBfailure\fP (const \fBstring\fP &\fB__s\fP, const \fBerror_code\fP &) noexcept" .br .ti -1c .RI "\fBfailure\fP (const \fBstring\fP &\fB__str\fP) \fBthrow\fP ()" .br .ti -1c .RI "\fBerror_code\fP \fBcode\fP () const noexcept" .br .ti -1c .RI "\fBvirtual\fP const char * \fBwhat\fP () const \fBthrow\fP ()" .br .in -1c .SH "Detailed Description" .PP These are thrown to indicate problems with io\&. 27\&.4\&.2\&.1\&.1 Class ios_base::failure .SH "Member Function Documentation" .PP .SS "\fBvirtual\fP const char * std::ios_base::failure::what () const\fC [virtual]\fP" Returns a C-style character string describing the general cause of the current error\&. .br .PP Reimplemented from \fBstd::exception\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.