RECORDS_UNKNOWN
What RECORDS_UNKNOWN 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 name's records are not known, so they cannot be copied to its new resolver.
What to show users
| Title | Message | Action |
|---|---|---|
| Profile needed | The records of This name must be provided before it can be upgraded. |
Retry safety
Retrying the same call fails the same way until the cause is fixed (retryable: false).
Actions that throw it
| Action | When |
|---|---|
migration.migrate | when a name cannot migrate as asked. |
Catch it
Errors.hasCode("RECORDS_UNKNOWN") narrows to this error. See Handle errors.
Was this page helpful?