# File lib/moped/protocol/get_more.rb, line 71 def failure_exception(reply) if reply.cursor_not_found? Errors::CursorNotFound.new(self, cursor_id) else Errors::QueryFailure.new(self, reply.documents.first) end end