Class: Mongo::Error::InvalidBulkOperationType
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
Error
|
|
|
Instance Chain:
self,
Error
|
|
| Inherits: |
Error
|
| Defined in: | lib/mongo/error/invalid_bulk_operation_type.rb |
Overview
Exception raised if a non-existent operation type is used.
Class Method Summary
-
.new(type) ⇒ InvalidBulkOperationType
constructor
Instantiate the new exception.
Constructor Details
.new(type) ⇒ InvalidBulkOperationType
Instantiate the new exception.
# File 'lib/mongo/error/invalid_bulk_operation_type.rb', line 31
def initialize(type) super("Invalid bulk operation type: #{type}.") end