Class: Vk::API::Errors::APIErrorUserDeleted

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'User was deleted or banned') ⇒ APIErrorUserDeleted

Returns a new instance of APIErrorUserDeleted.


312
313
314
# File 'lib/vk/api/errors.rb', line 312

def initialize(msg = 'User was deleted or banned')
  super
end

Instance Method Details

#codeObject


316
317
318
# File 'lib/vk/api/errors.rb', line 316

def code
  18
end