predicates::str

Type Alias 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),
}

Variants§

§

Syntax(String)

A syntax error.

§

CompiledTooBig(usize)

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