Enum regex::Error [] [src]

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

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

Variants

Syntax

A syntax error.

CompiledTooBig

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

Trait Implementations

impl Error for Error

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for Error

fn fmt(&self, f: &mut Formatter) -> Result

impl From<Error> for Error

fn from(err: Error) -> Error

Derived Implementations

impl Debug for Error

fn fmt(&self, __arg_0: &mut Formatter) -> Result