Class: Vk::API::Errors::APIErrorRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Invalid request') ⇒ APIErrorRequest

Returns a new instance of APIErrorRequest.


82
83
84
# File 'lib/vk/api/errors.rb', line 82

def initialize(msg = 'Invalid request')
  super
end

Instance Method Details

#codeObject


86
87
88
# File 'lib/vk/api/errors.rb', line 86

def code
  8
end