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

NotFoundError

What NotFoundError means, which codes it carries and how to catch it in ensforge. Something the call requires does not exist.

Error class7 codes · @ensforge/sdk

Something the call requires does not exist. Reads only throw this with strict: true; otherwise they return null.

Fields

FieldTypeDescription
resourcestringWhat was missing, e.g. a record key.

Codes

CodeMeaningRetryable
RESOLVER_NOT_FOUNDThe name has no resolver.No
RECORD_NOT_FOUNDThe record is not set.No
PRIMARY_NAME_NOT_SETThe address has no primary name.No
PRIMARY_NAME_MISMATCHThe primary name does not resolve back to this address.No
REGISTRY_NOT_FOUNDNo registry was found for this name.No
PLAN_NOT_FOUNDNo saved plan was found with this id.No
INDEXER_NOT_FOUNDThe indexer has no record of this resource.No

Catch it

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

Was this page helpful?