A PCRE2 error.
An error can occur during compilation or during matching. The kind of this error indicates the type of operation being performed when the error occurred.
Return the kind of this error.
The kind indicates the type of operation that was attempted which resulted in this error.
Return the raw underlying PCRE2 error code.
This can be useful if one needs to determine exactly which error
occurred, which can be done with case analysis over the constants
exported in the
Return the underlying offset associated with this error, if one exists.
The offset is typically only available for compile time errors, and is supposed to indicate the general position in the pattern where an error occurred.
impl RefUnwindSafe for Error
impl UnwindSafe for Error
type Owned = T
The resulting type after obtaining ownership.
fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.