NAME_NOT_WRAPPED
What NAME_NOT_WRAPPED 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 not wrapped in the NameWrapper.
What to show users
| Title | Message | Action |
|---|---|---|
| Name not wrapped | This name is not 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.setChildFuses | when the name is not wrapped. |
wrapper.setFuses | when the name is not wrapped. |
wrapper.unwrap | when the name is not wrapped. |
Catch it
Errors.hasCode("NAME_NOT_WRAPPED") narrows to this error. See Handle errors.
Was this page helpful?