Class: Vk::API::Errors::APIErrorServer

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Internal server error') ⇒ APIErrorServer

Returns a new instance of APIErrorServer.


102
103
104
# File 'lib/vk/api/errors.rb', line 102

def initialize(msg = 'Internal server error')
  super
end

Instance Method Details

#codeObject


106
107
108
# File 'lib/vk/api/errors.rb', line 106

def code
  10
end