libstdc++
|
#include <regex_error.h>
Public Member Functions | |
regex_error (error_type __ecode) | |
regex_constants::error_type | code () const noexcept |
virtual const char * | what () const noexcept |
Friends | |
void | __throw_regex_error (error_type __ecode, const char *__what) |
A regular expression exception class.
The regular expression library throws objects of this class on error.
Definition at line 134 of file regex_error.h.
|
explicit |
Constructs a regex_error object.
__ecode | the regex error code. |
|
inlinenoexcept |
Gets the regex error code.
Definition at line 157 of file regex_error.h.
|
virtualnoexceptinherited |
Returns a C-style character string describing the general cause of the current error (the same string passed to the ctor).
Reimplemented from std::exception.
Reimplemented in std::filesystem::filesystem_error, and std::experimental::filesystem::v1::filesystem_error.
|
friend |
Definition at line 167 of file regex_error.h.