Function jsonrpsee_core::server::helpers::prepare_error

source ยท
pub fn prepare_error(data: &[u8]) -> (Id<'_>, ErrorCode)
Available on crate feature server only.
Expand description

Figure out if this is a sufficiently complete request that we can extract an Id out of, or just plain unparseable garbage.