Class: Vk::API::Errors::APIErrorAuth

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'User authorization failed') ⇒ APIErrorAuth

Returns a new instance of APIErrorAuth.


52
53
54
# File 'lib/vk/api/errors.rb', line 52

def initialize(msg = 'User authorization failed')
  super
end

Instance Method Details

#codeObject


56
57
58
# File 'lib/vk/api/errors.rb', line 56

def code
  5
end