Exception: RunApi::Core::NotFoundError
- Defined in:
- lib/runapi/core/errors.rb
Overview
Raised when requested resource does not exist (HTTP 404).
Constant Summary
Constants inherited from Error
Error::DEFAULT_MESSAGES, Error::STATUS_MAP
Instance Attribute Summary
Attributes inherited from Error
#details, #request_id, #status
Instance Method Summary collapse
-
#initialize(message = "Not found", **kwargs) ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Methods inherited from Error
Constructor Details
#initialize(message = "Not found", **kwargs) ⇒ NotFoundError
Returns a new instance of NotFoundError.
185 186 187 |
# File 'lib/runapi/core/errors.rb', line 185 def initialize( = "Not found", **kwargs) super(, status: 404, **kwargs) end |