Exception: CursorPager::ConflictingOrdersError
- Defined in:
- lib/cursor_pager/conflicting_orders_error.rb
Overview
Will be raised when the relation is ordered by multiple attributes but in different directions.
Constant Summary collapse
- MESSAGE =
<<~MESSAGE Ordering by multiple attributes requires they are all ordered in the same direction. MESSAGE
Instance Method Summary collapse
-
#initialize ⇒ ConflictingOrdersError
constructor
A new instance of ConflictingOrdersError.
Constructor Details
#initialize ⇒ ConflictingOrdersError
Returns a new instance of ConflictingOrdersError.
12 13 14 |
# File 'lib/cursor_pager/conflicting_orders_error.rb', line 12 def initialize super(MESSAGE) end |