Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

IndexerError

What IndexerError means, which codes it carries and how to catch it in ensforge. Lists its fields and every code. Includes how to catch it.

Error class6 codes · @ensforge/sdk

An indexer request failed, or the indexer cannot serve the query (INDEXER_UNSUPPORTED).

Fields

FieldTypeDescription
indexerCodestringThe indexer's own error code, e.g. bigname's rate_limited.
statusnumberHTTP status of the failed request.
routestringRoute that failed, e.g. /v1/names/{name}.
sourcestringAdapter that failed, e.g. bigname.

Codes

CodeMeaningRetryable
INDEXER_UNAVAILABLEThe indexer is unavailable.Yes
INDEXER_RATE_LIMITEDThe indexer is rate limiting requests.Yes
INDEXER_RESPONSE_INVALIDThe indexer returned an unexpected response.No
INDEXER_REQUEST_REJECTEDThe indexer rejected the request.No
INDEXER_BEHINDThe indexer is behind the chain.Yes
INDEXER_UNSUPPORTEDThe indexer does not support this query.No

Catch it

Effect.catchTag("IndexerError", …) or error instanceof Errors.IndexerError. See Handle errors.

Was this page helpful?