Exception: Deckle::NotFoundError
- Defined in:
- lib/deckle/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Not found") ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(message = "Not found") ⇒ NotFoundError
Returns a new instance of NotFoundError.
37 38 39 |
# File 'lib/deckle/errors.rb', line 37 def initialize( = "Not found") super(, status_code: 404, code: "NOT_FOUND") end |