Skip to main content

Module errors

Module errors 

Source
Expand description

Error display and remediation hints for CLI output.

Colors errors red and hints dimmed when stderr is a TTY. Falls back to plain text when piped.

Functionsยง

display_error
Displays an error with a remediation hint when available.
error_suggestion
Returns a user-facing suggestion for common error types.