Exception: Mongo::Error::InvalidBulkOperationType
- Inherits:
-
Mongo::Error
- Object
- StandardError
- Mongo::Error
- Mongo::Error::InvalidBulkOperationType
- Defined in:
- lib/mongo/error/invalid_bulk_operation_type.rb
Overview
Exception raised if an non-existent operation type is used.
Constant Summary
Constants inherited from Mongo::Error
BAD_VALUE, CODE, ERR, ERRMSG, ERROR, UNKNOWN_ERROR, WRITE_CONCERN_ERROR, WRITE_CONCERN_ERRORS, WRITE_ERRORS
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 |