jsonrpsee_core::server::helpers

Function 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.