Type Alias predicates::str::RegexError

source ·
pub type RegexError = Error;
Expand description

An error that occurred during parsing or compiling a regular expression.

Aliased Type§

enum RegexError {
    Syntax(String),
    CompiledTooBig(usize),
    // some variants omitted
}

Variants§

§

Syntax(String)

A syntax error.

§

CompiledTooBig(usize)

The compiled program exceeded the set size limit. The argument is the size limit imposed.