pub fn emit_parse_error(err: &LoadError) -> Result<String, EmitError>Expand description
Serialize a parse load error as stderr JSON.
§Errors
Returns EmitError::Serialize when the envelope cannot be serialized, or
when err is not LoadError::Parse (miswire).