NAME_NOT_RENEWABLE
What NAME_NOT_RENEWABLE means, why NameStateError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.
NameStateErrorNot retryable
@ensforge/sdk
What happened
The name cannot be renewed.
What to show users
| Title | Message | Action |
|---|---|---|
| Cannot renew | This name cannot be renewed. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
registration.getRenewalPrice | when a name is neither registered nor in its grace period. |
registration.renew | when a name is neither registered nor in its grace period. |
Catch it
Errors.hasCode("NAME_NOT_RENEWABLE") narrows to this error. See Handle errors.
Was this page helpful?