fn error_payload(
result: &Result<ResponsePacket, RpcError<TransportErrorKind>>,
) -> Option<&ErrorPayload>Expand description
The JSON-RPC error a response carries, if any.
Logged in place of the whole Result: a scored failure arrives as Ok(Failure(..)), which
reads as a success in a log search, and the packet holds the provider’s entire response body.