Skip to main content

render_failure

Function render_failure 

Source
pub fn render_failure(envelope: &ErrorEnvelope<'_>, compact: bool) -> String
Expand description

Render a failure envelope: pretty or compact. The caller routes the result to stderr in both modes.

ยงPanics

See render_success.