Skip to main content

write_error_chain_with_options

Function write_error_chain_with_options 

Source
pub fn write_error_chain_with_options<C: DynColor + Copy, W: Write>(
    err: &dyn Error,
    options: ErrorOptions<'_, C, W>,
) -> Result
Expand description

Formats an error or warning chain with custom options.

Each hint is rendered on its own line, prefixed with the styled hint: label.