pub fn error(
error_code: u32,
routing_context: Option<u32>,
) -> Result<Vec<u8>, WireError>Expand description
ERR (RFC 4666 section 3.8.1).
The Diagnostic Information parameter is deliberately never populated. It is the one field
in M3UA where an internal error string could reach a peer, and the rule in
crate::utils::wire_failure is that the peer gets a category and the log gets the error.