Expand description
Structured error output for CLI and JSON formats.
Functionsยง
- emit_
error - Emit an error as structured JSON on stdout when
--format jsonis active, then return the given exit code. For non-JSON formats, emit to stderr as usual.
Structured error output for CLI and JSON formats.
--format json is active,
then return the given exit code. For non-JSON formats, emit to stderr as usual.