pub fn emit_usage_error(err: &LoadError) -> Result<String, EmitError>Expand description
Serialize LoadError::Usage as stderr JSON with flag-specific recovery.
§Errors
Returns EmitError::Serialize when the envelope cannot be serialized, or
when err is not LoadError::Usage (miswire).