Skip to main content

Module diagnostic

Module diagnostic 

Source
Expand description

Diagnostic rendering for CLI errors.

Renders errors in the four-part format mandated by Doc 07 §5.1: what went wrong, where, why, how to fix.

Functions§

render_cli_error
Render a CliError to stderr with styled diagnostics.