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