Skip to main content

Crate fedimint_util_error

Crate fedimint_util_error 

Source

Structs§

FmtCompactErrorAnyhow
A wrapper with fmt::Display for anyhow::Error that will print chain of causes
FmtCompactResultAnyhowDisplay
A wrapper with fmt::Display for Result<T, anyhow::Error> that prints the error chain on Err or - on Ok
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 that will print chain of causes

Traits§

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