Documentation for agents: an index at /llms.txt, every docs page in one file at /llms-full.txt, and Markdown for any docs page by adding .md to its URL.

Skip to Content
ensforge

NAME_EXPIRED

What NAME_EXPIRED 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 has expired.

What to show users

TitleMessageAction
Name expiredThis name has expired.Renew it to continue.

Retry safety

Retrying the same call fails the same way until the cause is fixed (retryable: false).

Actions that throw it

ActionWhen
approval.setTokenwhen the name is not registered.
dns.setRecordswhen the name is not registered.
name.reclaimwhen the name is not registered.
name.setManagerwhen the name is not registered.
name.setTtlwhen the name is not registered.
name.transferwhen the name cannot be sent.
record.setwhen the name is not registered.
registry.attachwhen the name is not registered.
resolver.createwhen the name is not registered.
resolver.linkwhen the name is not registered.
resolver.setwhen the name is not registered.
subname.createwhen the child exists or the parent is not registered.
subname.removewhen the child or parent does not exist.
subname.updatewhen the child or parent does not exist, or an emancipated child expired.
wrapper.setChildFuseswhen the name is not wrapped.
wrapper.setFuseswhen the name is not wrapped.
wrapper.unwrapwhen the name is not wrapped.
wrapper.wrapwhen the name cannot be wrapped.

Catch it

Errors.hasCode("NAME_EXPIRED") narrows to this error. See Handle errors.

Was this page helpful?