pub trait RucError: Display + Debug + Send {
    fn get_current_error(&self) -> String;
fn get_lowest_error(&self) -> String; fn eq(&self, another: &dyn RucError) -> bool { ... }
fn eq_any(&self, another: &dyn RucError) -> bool { ... }
fn cause(&mut self) -> Option<Box<dyn RucError>> { ... }
fn cause_ref(&self) -> Option<&dyn RucError> { ... }
fn display_chain(&self) -> String { ... } }
Expand description

the major trait defination

Required methods

convert the error of current level to string

convert the error of lowest level to string

Provided methods

compare two object

check if any node from the error_chain matches the given error

point to a error which caused current error

a ref version of cause()

generate the final error msg

Implementors