NAME_WRAPPED
What NAME_WRAPPED 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 already wrapped in the NameWrapper.
What to show users
| Title | Message | Action |
|---|---|---|
| Name already wrapped | This name is already wrapped. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
wrapper.wrap | when the name cannot be wrapped. |
Catch it
Errors.hasCode("NAME_WRAPPED") narrows to this error. See Handle errors.
Was this page helpful?