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 =
"Ordering by multiple attributes requires they are all ordered in the\nsame direction.\n"
Instance Method Summary collapse
-
#initialize ⇒ ConflictingOrdersError
constructor
A new instance of ConflictingOrdersError.
Constructor Details
#initialize ⇒ ConflictingOrdersError
12 13 14 |
# File 'lib/cursor_pager/conflicting_orders_error.rb', line 12 def initialize super(MESSAGE) end |