mongodb/node-mongodb-native — pull request #1177 by AaronO (2014-05-19 20:42:18+00:00)
Title: Fix parsing of new errored results from mongod

In mongod `v2.5.3` (other versions likely affected).

It returns errors through the `errMsg` and `errCode` result attributes rather than through the `writeErrors` attribute array.

This adds support for that new format.

Dump of unsupported response object https://gist.github.com/AaronO/32543578369df276a5ac