Skip to Content
Mika Scraper 1.1.1 is released ๐ŸŽ‰
๐Ÿ• MIKA INTERFACEInterface: ScreenshotResponseError

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." };

Diagram: Mika Scraper

Last updated on