How determine if a Mongo query errored from the response packet?

Bumping this question, thank you!!