Exception: CursorPager::InvalidCursorError
- Defined in:
- lib/cursor_pager/invalid_cursor_error.rb
Overview
Will be raise when the cursor couldn’t be parsed.
Instance Method Summary collapse
-
#initialize(cursor) ⇒ InvalidCursorError
constructor
A new instance of InvalidCursorError.
Constructor Details
#initialize(cursor) ⇒ InvalidCursorError
Returns a new instance of InvalidCursorError.
6 7 8 9 10 |
# File 'lib/cursor_pager/invalid_cursor_error.rb', line 6 def initialize(cursor) = "Couldn't parse cursor: #{cursor}." super() end |