INDEXER_NOT_FOUND
What INDEXER_NOT_FOUND means, why NotFoundError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
NotFoundErrorNot retryable
@ensforge/sdk
What happened
The indexer has no record of this resource.
What to show users
| Title | Message | Action |
|---|---|---|
| Not found | Nothing was found. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
indexer.getHistory | when the indexer has no such name. |
indexer.getName | with strict: true when the indexer has no such name. |
indexer.getNamespace | with strict: true when the indexer does not know the namespace. |
indexer.getRecords | with strict: true when the indexer has no such name. |
indexer.getRegistry | with strict: true when the indexer does not know the contract. |
indexer.getResolver | with strict: true when the indexer does not know the contract. |
indexer.getSubnames | when the indexer has no such name. |
Catch it
Errors.hasCode("INDEXER_NOT_FOUND") narrows to this error. See Handle errors.
Was this page helpful?