Enum fisher_common::errors::ErrorLocation
[−]
[src]
pub enum ErrorLocation { File(String, Option<u32>), HookProcessing(String), Unknown, // some variants omitted }
This enum represents where the error occured.
Variants
File(String, Option<u32>)
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.
HookProcessing(String)
The error occured while processing an hook. The hook name is available in the first parameter.
Unknown
There is no information about where the error occured.
Trait Implementations
impl Debug for ErrorLocation
[src]
impl PartialEq for ErrorLocation
[src]
fn eq(&self, __arg_0: &ErrorLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ErrorLocation) -> bool
This method tests for !=
.