NAME_ALREADY_RENEWED
What NAME_ALREADY_RENEWED 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
Every name already expires at or after until.
What to show users
| Title | Message | Action |
|---|---|---|
| Already renewed | These names are already renewed until the date you chose. |
How to fix
Nothing is left to renew; a retry with the same until renews only names still short of it.
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
registration.renew | when a name is neither registered nor in its grace period, or every name already reaches until. |
Catch it
Errors.hasCode("NAME_ALREADY_RENEWED") narrows to this error. See Handle errors.
Was this page helpful?