Skip to main content

Module error

Module error 

Source
Expand description

Error types — 1:1 port of sdk/go/errors.go + crawler.go::parseAPIError.

Structs§

ApiError
Structured API error envelope — the JSON shape returned by Scrapfly when a call fails (both /scrape {result: {error: ...}} envelopes and the generic {message, code, error_id, http_code} shape).

Enums§

ScrapflyError
All errors raised by scrapfly-sdk.

Functions§

from_response
Build a ScrapflyError from a non-2xx HTTP response.