NAME_LOCKED
What NAME_LOCKED means, why NameStateError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.
NameStateErrorNot retryable
@ensforge/sdk
What happened
The name is locked.
What to show users
| Title | Message | Action |
|---|---|---|
| Name locked | This name is locked and cannot be changed. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
migration.migrate | when the name is locked. |
Catch it
Errors.hasCode("NAME_LOCKED") narrows to this error. See Handle errors.
Was this page helpful?