Docs/API reference

CrawlingoErrorOptions · Node.js

Optional Node error context, including inherited ErrorOptions.cause. Native context is optional.

Download .md
Developers2 min read11 sections
Source reference · Match your SDK version. Availability and known issues
In this guide

Purpose and lifecycle

Optional Node error context, including inherited ErrorOptions.cause. Native context is optional.

Definition and availability

Source snapshot: 1.0.0-alpha.3. Package export. Declared in source; this is not a runtime test result.

Signatures and source locations are generated from the SDK wrappers. Clean snapshots link to the recorded commit. Modified snapshots link to main, which may differ; file hashes identify the local inputs.

export interface CrawlingoErrorOptions extends ErrorOptions {
  code?: string;
  url?: string;
  stage?: string;
  recoverable?: boolean;
  suggestion?: string;
  seconds?: number;
  host?: string;
}
typescript9 lines · copy-ready

Members

MemberKindReturn / value typeSource status
codepropertystring | undefinedPresent in source
urlpropertystring | undefinedPresent in source
stagepropertystring | undefinedPresent in source
recoverablepropertyboolean | undefinedPresent in source
suggestionpropertystring | undefinedPresent in source
secondspropertynumber | undefinedPresent in source
hostpropertystring | undefinedPresent in source

code

Stable Node error category code.

Returns / value: string | undefined.

code?: string;
typescript1 lines · copy-ready

url

Source/final URL according to the operation; check redirects and provenance needs.

Returns / value: string | undefined.

url?: string;
typescript1 lines · copy-ready

stage

Operation stage supplied by the native bridge.

Returns / value: string | undefined.

stage?: string;
typescript1 lines · copy-ready

recoverable

Advisory indication, not a successful-retry guarantee.

Returns / value: boolean | undefined.

recoverable?: boolean;
typescript1 lines · copy-ready

suggestion

Human-readable recovery guidance.

Returns / value: string | undefined.

suggestion?: string;
typescript1 lines · copy-ready

seconds

Timeout duration when supplied.

Returns / value: number | undefined.

seconds?: number;
typescript1 lines · copy-ready

host

Host context when supplied.

Returns / value: string | undefined.

host?: string;
typescript1 lines · copy-ready

Errors and operational limits

See the consuming API for validation and failure behavior. Types and enum declarations do not perform network requests by themselves.

Source availability, package publication and runtime validation are separate facts. These pages describe the source snapshot, not a claim that all platforms or every API path have passed production acceptance.