Class: Vk::API::Errors::APIErrorTooMany

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Too many requests per second') ⇒ APIErrorTooMany

Returns a new instance of APIErrorTooMany.


62
63
64
# File 'lib/vk/api/errors.rb', line 62

def initialize(msg = 'Too many requests per second')
  super
end

Instance Method Details

#codeObject


66
67
68
# File 'lib/vk/api/errors.rb', line 66

def code
  6
end