Class: Mongo::Error::InvalidCursorOperation
- Inherits:
-
Error
- Object
- Error
- Mongo::Error::InvalidCursorOperation
- 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.