Exception: Whoosh::Errors::NotFoundError
- Inherits:
-
HttpError
- Object
- StandardError
- WhooshError
- HttpError
- Whoosh::Errors::NotFoundError
- Defined in:
- lib/whoosh/errors.rb
Instance Attribute Summary
Attributes inherited from HttpError
Instance Method Summary collapse
-
#initialize(message = "Not found") ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from HttpError
Constructor Details
#initialize(message = "Not found") ⇒ NotFoundError
Returns a new instance of NotFoundError.
35 36 37 |
# File 'lib/whoosh/errors.rb', line 35 def initialize( = "Not found") super(, status: 404, error_type: "not_found") end |