Do not use this constructor!
Meant for internal use only.
OptionalcauseOptionalcodeThis is a number in MongoServerError and a string in MongoDriverError
OptionalcodeOptionalconnectionOptionalerrOptionalerrRaw error result document returned by server.
OptionalokOptionalstackOptionaltopologyOptionalwriteStatic OptionalprepareOptional override for formatting stack traces
StaticstackNumber 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