.TH "std::regex_error" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::regex_error \- A regular expression exception class\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBstd::runtime_error\fP\&. .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBregex_error\fP (\fBregex_constants::error_type\fP \fB__ecode\fP)" .br .RI "Constructs a regex_error object\&. " .ti -1c .RI "\fBregex_constants::error_type\fP \fBcode\fP () \fBconst\fP" .br .RI "Gets the regex error code\&. " .ti -1c .RI "\fBvirtual\fP \fBconst\fP char * \fBwhat\fP () \fBconst\fP _GLIBCXX_TXN_SAFE_DYN \fBnoexcept\fP" .br .in -1c .SS "Friends" .in +1c .ti -1c .RI "\fBvoid\fP \fB__throw_regex_error\fP (\fBregex_constants::error_type\fP, \fBconst\fP char *)" .br .in -1c .SH "Detailed Description" .PP A regular expression exception class\&. The regular expression library throws objects of this class on error\&. .PP Definition at line \fB132\fP of file \fBregex_error\&.h\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "std::regex_error::regex_error (\fBregex_constants::error_type\fP __ecode)\fC [explicit]\fP" .PP Constructs a regex_error object\&. .PP \fBParameters\fP .RS 4 \fI__ecode\fP the regex error code\&. .RE .PP .SH "Member Function Documentation" .PP .SS "\fBregex_constants::error_type\fP std::regex_error::code () const\fC [inline]\fP" .PP Gets the regex error code\&. .PP \fBReturns\fP .RS 4 the regex error code\&. .RE .PP .PP Definition at line \fB153\fP of file \fBregex_error\&.h\fP\&. .SS "\fBvirtual\fP \fBconst\fP char * std::runtime_error::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 (the same string passed to the ctor)\&. .PP Reimplemented from \fBstd::exception\fP\&. .SH "Friends And Related Symbol Documentation" .PP .SS "\fBvoid\fP __throw_regex_error (\fBregex_constants::error_type\fP __ecode, \fBconst\fP char * __what)\fC [friend]\fP" .PP Definition at line \fB170\fP of file \fBregex_error\&.h\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.