Concepts
Errors
Typed errors the client throws.
| Class | When |
|---|---|
InvalidUrlError | Not http: / https: |
RateLimitError | 429 / plan limits |
AuthError | 401 / 403 |
TimeoutError | Abort after timeoutMs |
CapabilityError | No provider supports the operation |
AllProvidersFailedError | Every candidate failed; .errors has the chain |
import { AllProvidersFailedError, CapabilityError } from "scrape-sdk";