Class: Vk::API::Errors::APIErrorPermission

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'Permission to perform this action is denied') ⇒ APIErrorPermission

Returns a new instance of APIErrorPermission.


72
73
74
# File 'lib/vk/api/errors.rb', line 72

def initialize(msg = 'Permission to perform this action is denied')
  super
end

Instance Method Details

#codeObject


76
77
78
# File 'lib/vk/api/errors.rb', line 76

def code
  7
end