Exception: ScreenshotFreeAPI::ValidationError
- Inherits:
-
ScreenshotFreeAPIError
- Object
- StandardError
- ScreenshotFreeAPIError
- ScreenshotFreeAPI::ValidationError
- Defined in:
- lib/screenshotfreeapi/errors.rb
Overview
400 — Request body failed Zod validation on the server.
Instance Attribute Summary
Attributes inherited from ScreenshotFreeAPIError
#details, #error_code, #status_code
Instance Method Summary collapse
-
#initialize(msg = "Validation error", details = nil) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(msg = "Validation error", details = nil) ⇒ ValidationError
Returns a new instance of ValidationError.
39 40 41 |
# File 'lib/screenshotfreeapi/errors.rb', line 39 def initialize(msg = "Validation error", details = nil) super(400, "ValidationError", msg, details) end |