Class Mongo::Error::InvalidBulkOperation
In: lib/mongo/error/invalid_bulk_operation.rb
Parent: Error

Exception raised if an non-existent operation type is used.

@since 2.0.0

Methods

new  

Public Class methods

Instantiate the new exception.

@example Instantiate the exception.

  Mongo::Error::InvalidBulkOperation.new(name)

@param [ String ] type The bulk operation type. @param [ Hash ] operation The bulk operation.

@since 2.0.0

[Validate]