RECORD_NOT_FOUND
What RECORD_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 record is not set.
What to show users
| Title | Message | Action |
|---|---|---|
| Not set | This record is not set. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
record.getAddress | with strict. |
record.getAvatar | with strict. |
record.getContentHash | with strict. |
record.getText | with strict. |
resolver.getLink | without a resolver, or with strict and no records. |
Catch it
Errors.hasCode("RECORD_NOT_FOUND") narrows to this error. See Handle errors.
Was this page helpful?