123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Error::InvalidCursorOperation

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Error
Instance Chain:
self, Error
Inherits: Error
  • Object
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.

Since:

  • 2.0.0