Skip to main content

Module chain

Module chain 

Source
Expand description

Anyhow error-chain rendering helper.

Centralizes the format!("{err:#}") invocation so future evolution (e.g. plugging in LeakDetector to redact secrets from error messages) happens in one place.

Functionsยง

display_chain
Render an anyhow::Error with its full .context() chain.