DOKK / manpages / debian 12 / libstdc++-11-doc / std::ios_base_failure.3cxx.en
std::ios_base::failure(3cxx) std::ios_base::failure(3cxx)

std::ios_base::failure - These are thrown to indicate problems with io.

#include <ios_base.h>

Inherits std::exception.


failure (const char *__s, const error_code &=error_code{})
failure (const string &__s, const error_code &) noexcept
failure (const string &__str) throw ()
error_code code () const noexcept
virtual const char * what () const throw ()

These are thrown to indicate problems with io.

27.4.2.1.1 Class ios_base::failure

Definition at line 276 of file ios_base.h.

Definition at line 297 of file ios_base.h.

Definition at line 302 of file ios_base.h.

error_code std::ios_base::failure::code () const [inline], [noexcept]

Definition at line 307 of file ios_base.h.

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.

Generated automatically by Doxygen for libstdc++ from the source code.

Thu Feb 16 2023 libstdc++