Exception: CursorPager::CursorNotFoundError
- Defined in:
- lib/cursor_pager/cursor_not_found_error.rb
Overview
Will be raised when the cursor’s record couldn’t be found in the relation.
Instance Method Summary collapse
-
#initialize(cursor) ⇒ CursorNotFoundError
constructor
A new instance of CursorNotFoundError.
Constructor Details
#initialize(cursor) ⇒ CursorNotFoundError
Returns a new instance of CursorNotFoundError.
6 7 8 9 10 |
# File 'lib/cursor_pager/cursor_not_found_error.rb', line 6 def initialize(cursor) = "Couldn't find item for cursor: #{cursor}." super() end |