Exception: PetstoreApiClient::NotFoundError
- Defined in:
- lib/petstore_api_client/errors.rb
Overview
404 errors
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = "Resource not found") ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(message = "Resource not found") ⇒ NotFoundError
Returns a new instance of NotFoundError.
32 33 34 |
# File 'lib/petstore_api_client/errors.rb', line 32 def initialize( = "Resource not found") super(, status_code: 404, error_type: "NotFound") end |