new BulkWriteError(message, result){BulkWriteError}
Creates a new BulkWriteError
Name | Type | Description |
---|---|---|
message |
Error | string | object |
The error message |
result |
BulkWriteResult |
The result of the bulk write operation |