@arkade-os/sdk Documentation - v0.4.54
    Preparing search index...

    Class FetchError

    Wraps a transport-level fetch rejection (DNS failure, connection refused, TLS or CORS error) with the request method and URL, preserving the original as Error.cause.

    Hierarchy

    • Error
      • FetchError
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • message: string
      • options: { cause?: unknown; method?: string; url?: string }

      Returns FetchError

    Properties

    method?: string

    The HTTP method of the failed request (defaults to "GET").

    url?: string

    The request URL that failed, when derivable from the fetch input.