Class: Mongo::Error::InvalidBulkOperationType
- Inherits:
-
Error
- Object
- Error
- Mongo::Error::InvalidBulkOperationType
- Defined in:
- lib/mongo/error/invalid_bulk_operation_type.rb
Overview
Exception raised if a non-existent operation type is used.
Instance Method Summary collapse
-
#initialize(type) ⇒ InvalidBulkOperationType
constructor
Instantiate the new exception.
Constructor Details
#initialize(type) ⇒ InvalidBulkOperationType
Instantiate the new exception.
31 32 33 |
# File 'lib/mongo/error/invalid_bulk_operation_type.rb', line 31 def initialize(type) super("Invalid bulk operation type: #{type}.") end |