Exception: SDM::PermissionError

Inherits:
RPCError
  • Object
show all
Defined in:
lib/errors/errors.rb

Overview

PermissionError is used to specify a permissions violation

Instance Attribute Summary

Attributes inherited from RPCError

#code

Instance Method Summary collapse

Constructor Details

#initialize(msg) ⇒ PermissionError

Returns a new instance of PermissionError.



66
67
68
# File 'lib/errors/errors.rb', line 66

def initialize(msg)
  super(msg, 7)
end