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_LOCKED

What NAME_NOT_LOCKED means, why MigrationError throws it, what to show users and how to fix it in ensforge. Also covers retry safety.

MigrationErrorNot retryable
@ensforge/sdk

What happened

The wrapped name is not locked, so it cannot use the locked migration route.

What to show users

TitleMessageAction
Upgrade unavailableThis name cannot use this upgrade path.

Retry safety

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

Actions that throw it

ActionWhen
migration.migratewhen a name cannot migrate as asked.

Catch it

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

Was this page helpful?