Exception: ScreenshotFreeAPI::NotFoundError

Inherits:
ScreenshotFreeAPIError show all
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

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