Exception: CanDo::PermissionError

Inherits:
Exception
  • Object
show all
Defined in:
lib/can_do/permission_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(reason, debug_info = nil) ⇒ PermissionError

Returns a new instance of PermissionError.



3
4
5
6
# File 'lib/can_do/permission_error.rb', line 3

def initialize(reason, debug_info = nil)
  super(reason)
  @debug_info = debug_info
end