class Moped::Errors::CursorNotFound

Exception raised if the cursor could not be found.

Public Class Methods

new(operation, cursor_id) click to toggle source
Calls superclass method Moped::Errors::MongoError.new
# File lib/moped/errors.rb, line 133
def initialize(operation, cursor_id)
  super(operation, {"errmsg" => "cursor #{cursor_id} not found"})
end