pub trait ErrorReport: StdError + Sized + 'static {
    fn report(&self) -> Report<ReportHelper<'_>> { ... }
Expand description

Extension trait providing .report() method on concrete errors

This is implemented for types that directly implement std::error::Error + 'static. For types like anyhow::Error that impl AsRef<dyn Error>, use tor_error::Report(err) directly.

Provided Methods

Return an object that displays the error and its causes