Namespaces
Variants
Views
Actions

std::regex_error

From cppreference.com
Defined in header <regex>
class regex_error : public std::runtime_error {

  public:
    explicit regex_error(regex_constants::error_type ecode);
    regex_constants::error_type code() const;

};
(since C++11)

Defines the type of object thrown as exceptions to report errors from the regular expressions library.

[edit] Member functions

constructs a regex_error object
(public member function) [edit]
gets the std::regex_constants::error_type for a regex_error
(public member function) [edit]

Inherited from std::exception

Member functions

[virtual]
destructs the exception object
(virtual public member function of std::exception) [edit]
[virtual]
returns explanatory string
(virtual public member function of std::exception) [edit]