Skip to main content

find_source

Function find_source 

Source
pub fn find_source<'a, T: Error + 'static>(
    err: &'a (dyn Error + 'static),
) -> Option<&'a T>
Expand description

The first T in err’s source chain, err included.

At each std::io::Error it also follows the error the io::Error wraps, which io::Error::source skips.