Exception: Pagy::JsonApiExtra::ReservedParamError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pagy/extras/jsonapi.rb

Overview

JsonApi :page param error

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ReservedParamError

Inform about the actual value



14
15
16
# File 'lib/pagy/extras/jsonapi.rb', line 14

def initialize(value)
  super("expected reserved :page param to be nil or Hash-like; got #{value.inspect}")
end