Interface: ScreenshotResponseError
Defined in: src/_other-scraper/ssweb.ts:27
Represents a failed screenshot attempt.
Properties
success
- Type:
boolean
- Default Value:
false
Indicates whether the screenshot attempt was successful. This property will always be false
for instances of the ScreenshotResponseError
interface.
error
- Type:
string
Describes the error that occurred during the screenshot attempt. This property provides detailed information regarding the failure, enabling developers to understand and possibly rectify the issue.
Example Usage
const screenshotError: ScreenshotResponseError = {
success: false,
error: "Failed to capture the screenshot due to network timeout."
};
Last updated on