RAILGUN Reloaded
    Preparing search index...

    Transport or malformed-response error from a PPOI node request.

    Hierarchy

    • Error
      • PoiNodeNetworkError
    Index
    • Build a typed network or decoding error.

      Parameters

      • params: {
            url: string;
            chainId: number;
            method: POIJSONRPCMethod;
            message: string;
            status?: number;
            responseBody?: string;
            cause?: unknown;
        }

        Error construction params.

        • url: string

          PPOI node URL that failed.

        • chainId: number

          Network targeted by the request.

        • method: POIJSONRPCMethod

          JSON-RPC method that failed.

        • message: string

          Error message.

        • Optionalstatus?: number

          Optional HTTP status code.

        • OptionalresponseBody?: string

          Optional raw response body.

        • Optionalcause?: unknown

          Optional underlying thrown value.

      Returns PoiNodeNetworkError

    name: "PoiNodeNetworkError" = 'PoiNodeNetworkError'

    Error class name.

    url: string

    PPOI node URL that failed.

    chainId: number

    Network targeted by the request.

    JSON-RPC method that failed.

    status: number | undefined

    HTTP status code when a response was received.

    responseBody: string | undefined

    Raw response body when it could be read.

    cause: unknown

    Underlying thrown value, if any.