jsonrpsee_server

Function prepare_error

source
pub fn prepare_error(data: &[u8]) -> (Id<'_>, ErrorCode)
Expand description

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