pub fn emit_process_error_with( code: &str, message: &str, fields: Value, trace: Value, ) -> Result<(), Error>
Emit an error with extension fields and trace through --output-to.
--output-to