Exception: Chronicle::ForbiddenError
- Defined in:
- app/errors/chronicle/forbidden_error.rb
Instance Attribute Summary
Attributes inherited from BaseError
Instance Method Summary collapse
-
#initialize(message = 'Unauthorized') ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
Constructor Details
#initialize(message = 'Unauthorized') ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
3 4 5 |
# File 'app/errors/chronicle/forbidden_error.rb', line 3 def initialize( = 'Unauthorized') super(, 403) end |