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_NOT_AVAILABLE

What NAME_NOT_AVAILABLE 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 already registered.

What to show users

TitleMessageAction
Name not availableThis name is already registered.Try a different name.

Retry safety

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

Actions that throw it

ActionWhen
registration.commitwhen a name is taken or in its grace period.
registration.registerwhen a name is taken or in its grace period.
subname.createwhen the child exists or the parent is not registered.

Catch it

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

Was this page helpful?