Enum fisher_common::errors::ErrorLocation [] [src]

pub enum ErrorLocation {
    File(StringOption<u32>),
    HookProcessing(String),
    Unknown,
    // some variants omitted
}

This enum represents where the error occured.

Variants

The error occured in a file. The file name is available in the first parameter, while the line number (if present) is available in the second one.

The error occured while processing an hook. The hook name is available in the first parameter.

There is no information about where the error occured.

Trait Implementations

impl Debug for ErrorLocation
[src]

Formats the value using the given formatter.

impl PartialEq for ErrorLocation
[src]

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

This method tests for !=.

impl Eq for ErrorLocation
[src]

impl Display for ErrorLocation
[src]

Formats the value using the given formatter. Read more