Exception: ScreenshotFreeAPI::NotFoundError
- Inherits:
-
ScreenshotFreeAPIError
- Object
- StandardError
- ScreenshotFreeAPIError
- ScreenshotFreeAPI::NotFoundError
- Defined in:
- lib/screenshotfreeapi/errors.rb
Overview
404 — Resource not found or not owned by this key.
Instance Attribute Summary
Attributes inherited from ScreenshotFreeAPIError
#details, #error_code, #status_code
Instance Method Summary collapse
-
#initialize(msg = "Resource not found") ⇒ NotFoundError
constructor
A new instance of NotFoundError.
Constructor Details
#initialize(msg = "Resource not found") ⇒ NotFoundError
Returns a new instance of NotFoundError.
32 33 34 |
# File 'lib/screenshotfreeapi/errors.rb', line 32 def initialize(msg = "Resource not found") super(404, "NotFound", msg) end |