Function try_downcast

Source
pub fn try_downcast(error: &Error) -> DownCastErrors<'_>
Expand description

This method tries to downcast an anyhow::Error to return a DownCastErrors enum for common error handling