Enum regex::Error
[−]
[src]
An error that occurred during parsing or compiling a regular expression.
Variants
Syntax(Error)
A syntax error.
CompiledTooBig(usize)
The compiled program exceeded the set size limit. The argument is the size limit imposed.
InvalidSet
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]
impl Debug for Error
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for Error
[src]
impl Error for Error
fn description(&self) -> &str
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for Error
[src]
impl Display for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<Error> for Error
[src]
impl From<Error> for Error