Trait easy_error::ErrorExt[][src]

pub trait ErrorExt: Error {
    fn iter_chain(&self) -> Causes<'_>

Notable traits for Causes<'a>

impl<'a> Iterator for Causes<'a> type Item = &'a (dyn Error + 'static);
; fn iter_causes(&self) -> Causes<'_>

Notable traits for Causes<'a>

impl<'a> Iterator for Causes<'a> type Item = &'a (dyn Error + 'static);
{ ... }
fn find_root_cause(&self) -> &(dyn Error + 'static) { ... } }

Extension methods to Error types.

Required methods

fn iter_chain(&self) -> Causes<'_>

Notable traits for Causes<'a>

impl<'a> Iterator for Causes<'a> type Item = &'a (dyn Error + 'static);
[src]

Loading content...

Provided methods

fn iter_causes(&self) -> Causes<'_>

Notable traits for Causes<'a>

impl<'a> Iterator for Causes<'a> type Item = &'a (dyn Error + 'static);
[src]

fn find_root_cause(&self) -> &(dyn Error + 'static)[src]

Loading content...

Implementations on Foreign Types

impl ErrorExt for dyn Error[src]

Loading content...

Implementors

impl<E: Error + 'static> ErrorExt for E[src]

Loading content...