Exception: Whoosh::Errors::ForbiddenError
- Inherits:
-
HttpError
- Object
- StandardError
- WhooshError
- HttpError
- Whoosh::Errors::ForbiddenError
- Defined in:
- lib/whoosh/errors.rb
Instance Attribute Summary
Attributes inherited from HttpError
Instance Method Summary collapse
-
#initialize(message = "Forbidden") ⇒ ForbiddenError
constructor
A new instance of ForbiddenError.
Methods inherited from HttpError
Constructor Details
#initialize(message = "Forbidden") ⇒ ForbiddenError
Returns a new instance of ForbiddenError.
47 48 49 |
# File 'lib/whoosh/errors.rb', line 47 def initialize( = "Forbidden") super(, status: 403, error_type: "forbidden") end |