Creates a new MongoBulkWriteError
可选cause可选codeThis is a number in MongoServerError and a string in MongoDriverError
可选code可选connection可选err可选err可选ok可选stack可选topology可选write静态 可选prepareOptional override for formatting stack traces
静态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
Checks the error to see if it has an error label
The error label to check for
returns true if the error has the provided error label
静态captureCreate .stack property on a target object
可选constructorOpt: Function
An error indicating an unsuccessful Bulk Write