Skip to content

IndexerClientError

Defined in: ootle/src/errors/index.ts:41

Raised when the indexer transport fails or returns a non-success response.

status is the HTTP status if the request reached the indexer (else undefined, e.g. a connection-layer failure). body is the raw response body when available, and url is the request URL. The original transport error chains via cause.

new IndexerClientError(message, options?): IndexerClientError

Defined in: ootle/src/errors/index.ts:47

string

ErrorOptions & object

IndexerClientError

OotleError.constructor

readonly optional body?: string

Defined in: ootle/src/errors/index.ts:44


readonly optional status?: number

Defined in: ootle/src/errors/index.ts:43


readonly optional url?: string

Defined in: ootle/src/errors/index.ts:45


readonly static errorName: "IndexerClientError" = "IndexerClientError"

Defined in: ootle/src/errors/index.ts:42

The stable name reported by instances of this class. Each SDK subclass sets it to its own class name, because a minified build can rename the class itself.

OotleError.errorName