Exception: Logan::AccessDeniedError
- Defined in:
- lib/logan/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize ⇒ AccessDeniedError
constructor
A new instance of AccessDeniedError.
Methods inherited from Error
Constructor Details
#initialize ⇒ AccessDeniedError
Returns a new instance of AccessDeniedError.
18 19 20 |
# File 'lib/logan/errors.rb', line 18 def initialize super :access_denied, "You are not allowed to access this resource." end |