pub fn parse_error_response(
id: RequestId,
message: impl Into<String>,
) -> JsonRpcResponse<Value>Expand description
Build a bare error response for a request that failed to even parse into an
envelope (used by the transport before dispatch can run). id is
RequestId::Null when the id could not be recovered.