.TH "std::ios_base::failure" 3cxx "Tue Jul 18 2023" "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 *__s, const \fBerror_code\fP &=\fBerror_code\fP{})" .br .ti -1c .RI "\fBfailure\fP (const \fBstring\fP &__s, const \fBerror_code\fP &) noexcept" .br .ti -1c .RI "\fBfailure\fP (const \fBstring\fP &__str) throw ()" .br .ti -1c .RI "\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\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\&.