| Class | Mongo::Error::BulkWriteError |
| In: |
lib/mongo/error/bulk_write_error.rb
|
| Parent: | Error |
Exception raised if there are write errors upon executing the bulk operation.
@since 2.0.0
| result | [R] | @return [ BSON::Document ] result The error result. |
Instantiate the new exception.
@example Instantiate the exception.
Mongo::Error::BulkWriteError.new(response)
@param [ Hash ] result A processed response from the server
reporting results of the operation.
@since 2.0.0