pub fn emit_error( format: OutputFormat, schema_version: &str, command: &str, code: &str, message: &str, ) -> Result<(), String>