Exception: CanDo::PermissionError
- Inherits:
-
Exception
- Object
- Exception
- CanDo::PermissionError
- Defined in:
- lib/can_do/permission_error.rb
Instance Method Summary collapse
-
#initialize(reason, debug_info = nil) ⇒ PermissionError
constructor
A new instance of PermissionError.
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 |