pub fn emit_error_json(code: i32, message: &str)Expand description
Emits a configuration failure, which is permanent by construction.
Bootstrap failures — a missing provider key, an unreadable XDG file, a model
the catalogue rejects — cannot be fixed by trying again, so they are always
permanent / retryable: false. Callers holding a real AppError must
use emit_error_json_with_suggestion instead, which reads the verdict off
the variant.