Skip to content

@armada/sdk / index / IndexerHttpError

Class: IndexerHttpError

Defined in: src/errors.ts:52

A quick-sync request to the indexer returned a non-OK HTTP status (e.g. a 404 from a legacy/wrong endpoint). Typed distinctly from the schema/root errors so the untrusted-indexer fallback can report the true cause (indexer-http-error, carrying status) instead of a misleading root-mismatch.

Extends

Constructors

Constructor

new IndexerHttpError(message, options): IndexerHttpError

Defined in: src/errors.ts:55

Parameters

message

string

options
status

number

cause?

unknown

Returns

IndexerHttpError

Overrides

ArmadaError.constructor

Properties

code

readonly code: "INDEXER_HTTP" = 'INDEXER_HTTP'

Defined in: src/errors.ts:53

Overrides

ArmadaError.code


status

readonly status: number

Defined in: src/errors.ts:54