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

TLD_NOT_PUBLIC

What TLD_NOT_PUBLIC means, why DnsError throws it, what to show users and how to fix it in ensforge. Also covers retry safety and the actions that throw it.

DnsErrorNot retryable
@ensforge/sdk

What happened

The top-level domain is not a public suffix and cannot be imported.

What to show users

TitleMessageAction
Domain not supportedThis top-level domain cannot be imported into ENS.

Retry safety

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

Actions that throw it

ActionWhen
dns.claimwhen the name cannot be proven.

Catch it

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

Was this page helpful?