Exception: JPie::Errors::NotFoundError
- Defined in:
- lib/jpie/errors.rb
Instance Attribute Summary
Attributes inherited from Error
#code, #detail, #source, #status, #title
Instance Method Summary collapse
-
#initialize(detail: 'Resource not found') ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from Error
Constructor Details
#initialize(detail: 'Resource not found') ⇒ NotFoundError
Returns a new instance of NotFoundError.
35 36 37 |
# File 'lib/jpie/errors.rb', line 35 def initialize(detail: 'Resource not found') super(status: 404, title: 'Not Found', detail:) end |