pub fn prepare_error(data: &[u8]) -> (Id<'_>, ErrorCode)
server-core
Distinguish malformed JSON from an invalid request and recover its Id when possible.
Id