Structs§
- Cleaned
Error Text - An iterator that removes duplicated error messages from errors.
- Ref
- Ref holds an error type that is
AsRef<dyn Error>, allowing it to be used withReportwithout having to implementAsRefErroron it. - Report
- Report prints an error and all its sources.
Traits§
- AsRef
Error - AsRefError is needed because
anyhow::Erroronly implementsAsRef<dyn Error>, notError, but&dyn Errordoes not implementAsRef<dyn Error>becauseAsRefdoesn’t have a blanket implementation (https://doc.rust-lang.org/std/convert/trait.AsRef.html#reflexivity). - Cleaned
Errors - Provides the cleaned_errors method on errors, which returns an iterator that removes duplicated error messages from the error and its sources.
- Reportable
- Provides the
reportmethod forstd::error::Error, converting the error to aReport.