Enum regex::Error [] [src]

pub enum Error {
    Syntax(Error),
    CompiledTooBig(usize),
    InvalidSet,
    // some variants omitted
}

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

Variants

A syntax error.

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

DEPRECATED: Will be removed on next major version bump.

This error is no longer used. (A RegexSet can now contain zero or more regular expressions.)

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for Error
[src]

Formats the value using the given formatter.

impl From<Error> for Error
[src]

Performs the conversion.