Exception: Graphiti::Errors::UnsupportedPageSize

Inherits:
Base
  • Object
show all
Defined in:
lib/graphiti/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(size, max) ⇒ UnsupportedPageSize

Returns a new instance of UnsupportedPageSize.



879
880
881
# File 'lib/graphiti/errors.rb', line 879

def initialize(size, max)
  @size, @max = size, max
end

Instance Method Details

#message ⇒ Object



883
884
885
# File 'lib/graphiti/errors.rb', line 883

def message
  "Requested page size #{@size} is greater than max supported size #{@max}"
end