Class: Tama::Error::NotFoundError
- Defined in:
- lib/tama/error.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize(body: nil) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(body: nil) ⇒ NotFoundError
Returns a new instance of NotFoundError.
29 30 31 |
# File 'lib/tama/error.rb', line 29 def initialize(body: nil) super("Resource not found", status: 404, body: body) end |