Skip to main content

Overview

Registry errors are thrown by the FrontMCP registry system — the internal data structure that tracks tools, resources, prompts, flows, hooks, and other entries. All registry errors are internal errors.

Error Reference

RegistryDefinitionNotFoundError

Thrown when a registry definition is not found by its token.
Example:

RegistryGraphEntryNotFoundError

Thrown when a registry graph entry is not found by its token.

RegistryDependencyNotRegisteredError

Thrown when an entity references a dependency that is not registered.
Example:

InvalidRegistryKindError

Thrown when a registry entry has an invalid or unsupported kind.

NameDisambiguationError

Thrown when name disambiguation exceeds the maximum number of attempts.
Example:

EntryValidationError

Thrown when a registry entry fails validation (e.g., missing a required property).

FlowNotRegisteredError

Thrown when a flow is not found in the flow registry.
Example:

UnsupportedHookOwnerKindError

Thrown when a hook has an unsupported owner kind.

InvalidHookFlowError

Thrown when a hook is registered with a flow that is not supported by the entry type (e.g., a tool hook on a resource class).
Example: