Class: Mongo::Error::InvalidCursorOperation
| 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_cursor_operation.rb |
Overview
Exception raised when an unsupported operation is attempted on a cursor.
Examples:
- Attempting to iterate a regular cursor more than once.
- Attempting to call try_next on a caching cursor after it had been iterated completely the first time.