Skip to main content

display_chain

Function display_chain 

pub fn display_chain(err: &Error) -> String
Expand description

Render an anyhow::Error with its full .context() chain. Uses the alternate Display formatter ({:#}) which walks the chain. Plain {} only prints the leaf message, losing every context layer.