Skip to main content

error_chain

Function error_chain 

Source
pub fn error_chain(error: &dyn Error) -> String
Expand description

An error and every cause under it, joined into one line.

Errors here keep their detail in sources. A fault that becomes a plain string needs the whole chain, or it delivers only the outermost wrapper. Logs take ?error, which already renders the chain.