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

Methods

new   to_s  

Attributes

result  [R]  @return [ BSON::Document ] result The error result.

Public Class methods

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

Public Instance methods

[Validate]