PCRE2 C++ Wrapper 1.3.0
pcre2cpp
Loading...
Searching...
No Matches
pcre2cpp::basic_regex_exception< utf > Class Template Reference

regex exception class More...

#include <exceptions.hpp>

Inheritance diagram for pcre2cpp::basic_regex_exception< utf >:
[legend]
Collaboration diagram for pcre2cpp::basic_regex_exception< utf >:
[legend]

Public Member Functions

 basic_regex_exception (const _string_view_type message) noexcept
 constructor with message
 basic_regex_exception (const int error_code, const size_t error_offset) noexcept
 constructor with error code and error offset
Public Member Functions inherited from pcre2cpp::basic_pcre2cpp_exception< utf >
 basic_pcre2cpp_exception (const _string_view_type message) noexcept
 constructor with message
 basic_pcre2cpp_exception (const int error_code) noexcept
 constructor with error code
 basic_pcre2cpp_exception (const int error_code, const size_t error_offset) noexcept
 constructor with error code and error offset
_PCRE2CPP_CONSTEXPR17 const _string_typeget_error () const noexcept
 returns error message

Private Types

using _string_view_type = typename utils::pcre2_data<utf>::string_view_type

Detailed Description

template<utf_type utf>
class pcre2cpp::basic_regex_exception< utf >

regex exception class

Template Parameters
utfUTF type

Member Typedef Documentation

◆ _string_view_type

template<utf_type utf>
using pcre2cpp::basic_regex_exception< utf >::_string_view_type = typename utils::pcre2_data<utf>::string_view_type
private

Constructor & Destructor Documentation

◆ basic_regex_exception() [1/2]

template<utf_type utf>
pcre2cpp::basic_regex_exception< utf >::basic_regex_exception ( const _string_view_type message)
inlineexplicitnoexcept

constructor with message

◆ basic_regex_exception() [2/2]

template<utf_type utf>
pcre2cpp::basic_regex_exception< utf >::basic_regex_exception ( const int error_code,
const size_t error_offset )
inlinenoexcept

constructor with error code and error offset