PRIMARY_NAME_NOT_SET
What PRIMARY_NAME_NOT_SET 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 address has no primary name.
What to show users
| Title | Message | Action |
|---|---|---|
| No primary name | This address has no primary name. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
primaryName.get | with strict when there is no valid primary name. |
Catch it
Errors.hasCode("PRIMARY_NAME_NOT_SET") narrows to this error. See Handle errors.
Was this page helpful?