RAILGUN Reloaded
    Preparing search index...

    Aggregate error thrown after every configured PPOI node URL fails.

    Hierarchy

    • Error
      • PoiNodeAllUrlsFailedError
    Index
    • Build an aggregate PPOI node failure.

      Parameters

      • params: {
            chainId: number;
            method: POIJSONRPCMethod;
            attemptedUrls: string[];
            errors: Error[];
        }

        Error construction params.

        • chainId: number

          Network targeted by the request.

        • method: POIJSONRPCMethod

          JSON-RPC method that failed.

        • attemptedUrls: string[]

          URLs attempted in order.

        • errors: Error[]

          Per-URL errors captured during retries.

      Returns PoiNodeAllUrlsFailedError

    name: "PoiNodeAllUrlsFailedError" = 'PoiNodeAllUrlsFailedError'

    Error class name.

    chainId: number

    Network targeted by the request.

    JSON-RPC method that failed.

    attemptedUrls: string[]

    URLs attempted in order.

    errors: Error[]

    Per-URL errors captured during retries.

    lastError: Error | undefined

    Last captured error, when at least one URL was attempted.

    cause: Error | undefined

    Final typed failure exposed through the standard error chain.