Class: Vk::TooManyArgumentsError

Inherits:
Error
  • Object
show all
Defined in:
lib/vk/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(method, argument, count) ⇒ TooManyArgumentsError

Returns a new instance of TooManyArgumentsError.

Parameters:

  • method (String)
  • argument (String)
  • count (Integer)


13
14
15
# File 'lib/vk/error.rb', line 13

def initialize(method, argument, count)
  super("Argument #{argument.inspect} of method #{method.inspect} cannot contain more than #{count} values")
end