Enum grok::Error
[−]
[src]
pub enum Error { RecursionTooDeep, CompiledPatternIsEmpty(String), DefinitionNotFound(String), RegexCompilationFailed(String), GenericCompilationFailure(String), // some variants omitted }
An error that occurred when using this library.
Variants
RecursionTooDeep
The recursion while compiling has exhausted the limit.
CompiledPatternIsEmpty(String)
After compiling, the resulting compiled regex pattern is empty.
DefinitionNotFound(String)
A corresponding pattern definition could not be found for the given name.
RegexCompilationFailed(String)
If the compilation for a specific regex in the underlying engine failed.
GenericCompilationFailure(String)
Something is messed up during the compilation phase.
Trait Implementations
impl Clone for Error
[src]
fn clone(&self) -> Error
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
[src]
This method tests for !=
.
impl StdError for Error
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
[src]
The lower-level cause of this error, if any. Read more