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

DnsError

What DnsError means, which codes it carries and how to catch it in ensforge. Importing or reading a DNS name failed. Lists its fields and every code.

Error class4 codes · @ensforge/sdk

Importing or reading a DNS name failed.

Fields

FieldTypeDescription
onchainOwnerAddress
dnsOwnerAddress

Codes

CodeMeaningRetryable
DNS_RECORD_MISSINGThe _ens TXT record is missing.No
DNSSEC_PROOF_FAILEDThe DNSSEC proof could not be built or verified.No
PROOF_STALEThe DNSSEC proof is older than the one on-chain.No
TLD_NOT_PUBLICThe top-level domain is not a public suffix and cannot be imported.No

Catch it

Effect.catchTag("DnsError", …) or error instanceof Errors.DnsError. See Handle errors.

Was this page helpful?