Exception: Vk::TooMuchArguments

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

Instance Attribute Summary

Attributes inherited from Error

#details

Instance Method Summary collapse

Constructor Details

#initialize(method, argument, count) ⇒ TooMuchArguments

Returns a new instance of TooMuchArguments.



6
7
8
# File 'lib/vk/exceptions.rb', line 6

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