Class: Vk::API::Errors::APIErrorParam

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'One of the parameters specified was missing or invalid') ⇒ APIErrorParam

Returns a new instance of APIErrorParam.


242
243
244
# File 'lib/vk/api/errors.rb', line 242

def initialize(msg = 'One of the parameters specified was missing or invalid')
  super
end

Instance Method Details

#codeObject


246
247
248
# File 'lib/vk/api/errors.rb', line 246

def code
  100
end