Skip to main content

render

Function render 

Source
pub fn render(err: &CliError, verbose: bool) -> String
Expand description

Renders the error to a human-friendly single line (or two for multi-line bodies).

Verbose mode appends the underlying body / source where available.