Class: Vk::API::Errors::APIErrorMethod

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Unknown method passed') ⇒ APIErrorMethod

Returns a new instance of APIErrorMethod.


32
33
34
# File 'lib/vk/api/errors.rb', line 32

def initialize(msg = 'Unknown method passed')
  super
end

Instance Method Details

#codeObject


36
37
38
# File 'lib/vk/api/errors.rb', line 36

def code
  3
end