Do not use this constructor!
Meant for internal use only.
Optional
causeOptional
codeThis is a number in MongoServerError and a string in MongoDriverError
Optional
codeOptional
connectionOptional
errOptional
errRaw error result document returned by server.
Optional
okOptional
stackOptional
topologyOptional
writeStatic
Optional
prepareOptional override for formatting stack traces
Static
stackNumber of documents deleted.
Legacy name for server error responses
Number of documents inserted.
Inserted document generated Id's, hash key is the index of the originating operation
Number of documents matched for update.
Number of documents modified.
Number of documents upserted.
Upserted document generated Id's, hash key is the index of the originating operation
An error indicating an unsuccessful Bulk Write