Class: Vk::API::Errors::APIErrorCaptcha

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Captcha needed') ⇒ APIErrorCaptcha

Returns a new instance of APIErrorCaptcha.


122
123
124
# File 'lib/vk/api/errors.rb', line 122

def initialize(msg = 'Captcha needed')
  super
end

Instance Method Details

#codeObject


126
127
128
# File 'lib/vk/api/errors.rb', line 126

def code
  14
end