Skip to main content

Module error

Module error 

Source
Expand description

Structured error output for CLI and JSON formats.

Functionsยง

emit_error
Emit an error as structured JSON on stdout when --format json is active, then return the given exit code. For non-JSON formats, emit to stderr as usual.