Exception: ScreenshotAPI::ScreenshotFailedError
- Defined in:
- lib/screenshotapi/errors.rb
Instance Attribute Summary
Attributes inherited from APIError
Instance Method Summary collapse
-
#initialize(message) ⇒ ScreenshotFailedError
constructor
A new instance of ScreenshotFailedError.
Constructor Details
#initialize(message) ⇒ ScreenshotFailedError
Returns a new instance of ScreenshotFailedError.
34 35 36 |
# File 'lib/screenshotapi/errors.rb', line 34 def initialize() super(, status: 500, code: "screenshot_failed") end |