Exception: CursorPager::ConflictingOrdersError

Inherits:
Error
  • Object
show all
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

Constructor Details

#initializeConflictingOrdersError



12
13
14
# File 'lib/cursor_pager/conflicting_orders_error.rb', line 12

def initialize
  super(MESSAGE)
end