Class: BulkWriteError

BulkWriteError

An error indicating an unsuccessful Bulk Write

new BulkWriteError(message, result)

Creates a new BulkWriteError

Name Type Description
message Error | string | object

The error message

result BulkWriteResult

The result of the bulk write operation