Exception: Gitlab::Pagination::Keyset::UnsupportedScopeOrder

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gitlab/pagination/keyset/unsupported_scope_order.rb

Constant Summary collapse

DEFAULT_ERROR_MESSAGE =
<<~MSG
The order on the scope does not support keyset pagination. You might need to define a custom Order object.\n
See https://docs.gitlab.com/ee/development/database/keyset_pagination.html#complex-order-configuration\n
Or the Gitlab::Pagination::Keyset::Order class for examples
MSG

Instance Method Summary collapse

Instance Method Details

#messageObject



13
14
15
# File 'lib/gitlab/pagination/keyset/unsupported_scope_order.rb', line 13

def message
  DEFAULT_ERROR_MESSAGE
end