Skip to main content

Crate fedimint_util_error

Crate fedimint_util_error 

Source

Structs§

FmtCompactResultDisplay
A wrapper with fmt::Display for Result<T, E> where E: Error that prints the error chain on Err or - on Ok
FmtErrorCompact
A wrapper with fmt::Display for any E : Error, unsized ones such as dyn Error included, that prints the error and its chain of causes, joined with ": ".

Traits§

FmtCompact
Simple utility trait to print error chains
FmtCompactResult
Extension trait to format Result<T, E> compactly (for E: Error)