.TH "std::ios_base::failure" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::ios_base::failure \- These are thrown to indicate problems with io\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .PP Inherits \fBstd::system_error\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBfailure\fP (const char *, const \fBerror_code\fP &=io_errc::stream)" .br .ti -1c .RI "\fBfailure\fP (const \fBstring\fP &, const \fBerror_code\fP &)" .br .ti -1c .RI "\fBfailure\fP (const \fBstring\fP &__str)" .br .ti -1c .RI "const \fBerror_code\fP & \fBcode\fP () const noexcept" .br .ti -1c .RI "virtual const char * \fBwhat\fP () const throw ()" .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 "virtual const char * std::ios_base::failure::what () const\fR [virtual]\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::runtime_error\fP\&. .PP References \fBwhat()\fP\&. .PP Referenced by \fBwhat()\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.