std::regex_error
A regular expression exception class.
- Provided by: libstdc++-12-doc (Version: 12.5.0-9ubuntu1)
- Source: gcc-12
- Report a bug
A regular expression exception class.
#include <regex>
Inherits std::runtime_error.
regex_error (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
A regular expression exception class.
The regular expression library throws objects of this class on error.
Since
Constructs a regex_error object.
Parameters
References regex_error().
Referenced by regex_error().
Gets the regex error code.
Returns
References code().
Referenced by code().
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::experimental::filesystem::v1::filesystem_error, and std::filesystem::filesystem_error.
References what().
Referenced by what().
Generated automatically by Doxygen for libstdc++ from the source code.