std::regex_error(3cxx) | std::regex_error(3cxx) |
std::regex_error - A regular expression exception class.
#include <regex_error.h>
Inherits std::runtime_error.
regex_error (regex_constants::error_type __ecode)
Constructs a regex_error object. regex_constants::error_type
code () const noexcept
Gets the regex error code. virtual const char * what () const noexcept
void __throw_regex_error
(regex_constants::error_type, const char *)
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.
Constructs a regex_error object.
Parameters
Gets the regex error code.
Returns
Definition at line 155 of file regex_error.h.
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.
Definition at line 172 of file regex_error.h.
Generated automatically by Doxygen for libstdc++ from the source code.
Thu Feb 16 2023 | libstdc++ |