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

The recursion while compiling has exhausted the limit.

After compiling, the resulting compiled regex pattern is empty.

A corresponding pattern definition could not be found for the given name.

If the compilation for a specific regex in the underlying engine failed.

Something is messed up during the compilation phase.

Trait Implementations

impl Clone for Error
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl StdError for Error
[src]

[src]

A short description of the error. Read more

[src]

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

impl Display for Error
[src]

[src]

Formats the value using the given formatter. Read more