.TH "__gnu_cxx::forced_error" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_cxx::forced_error \- Thrown by utilities for testing exception safety\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::exception\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual const char * \fBwhat\fP () const noexcept" .br .in -1c .SH "Detailed Description" .PP Thrown by utilities for testing exception safety\&. .SH "Member Function Documentation" .PP .SS "virtual const char * std::exception::what () const\fC [virtual]\fP, \fC [noexcept]\fP, \fC [inherited]\fP" Returns a C-style character string describing the general cause of the current error\&. .br .PP Reimplemented in \fBstd::ios_base::failure\fP, \fBstd::bad_alloc\fP, \fBstd::bad_any_cast\fP, \fBstd::filesystem::filesystem_error\fP, \fBstd::bad_weak_ptr\fP, \fBstd::bad_function_call\fP, \fBstd::experimental::fundamentals_v1::bad_any_cast\fP, \fBstd::experimental::filesystem::v1::filesystem_error\fP, \fBstd::future_error\fP, \fBstd::logic_error\fP, \fBstd::runtime_error\fP, \fBstd::bad_exception\fP, \fBstd::bad_cast\fP, \fBstd::bad_typeid\fP, and \fBstd::bad_optional_access\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.