NAME_RESERVED
What NAME_RESERVED 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 is reserved.
What to show users
| Title | Message | Action |
|---|---|---|
| Name reserved | This name is reserved. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
dns.setRecords | when the name is not registered. |
name.reclaim | when the name is not registered. |
name.setManager | when the name is not registered. |
name.setTtl | when the name is not registered. |
name.transfer | when the name cannot be sent. |
record.set | when the name is not registered. |
resolver.create | when the name is not registered. |
resolver.link | when the name is not registered. |
resolver.set | when the name is not registered. |
subname.create | when the parent is reserved or ENSv2 resolution no longer reaches it. |
subname.remove | when the parent is reserved or ENSv2 resolution no longer reaches it. |
subname.update | when the parent is reserved or ENSv2 resolution no longer reaches it. |
Catch it
Errors.hasCode("NAME_RESERVED") narrows to this error. See Handle errors.
Was this page helpful?