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.| Property | Type | Value |
|---|---|---|
code | string | REGISTRY_DEFINITION_NOT_FOUND |
statusCode | number | 500 |
isPublic | boolean | false |
RegistryGraphEntryNotFoundError
Thrown when a registry graph entry is not found by its token.| Property | Type | Value |
|---|---|---|
code | string | REGISTRY_GRAPH_ENTRY_NOT_FOUND |
statusCode | number | 500 |
isPublic | boolean | false |
RegistryDependencyNotRegisteredError
Thrown when an entity references a dependency that is not registered.| Property | Type | Value |
|---|---|---|
code | string | REGISTRY_DEPENDENCY_NOT_REGISTERED |
statusCode | number | 500 |
isPublic | boolean | false |
InvalidRegistryKindError
Thrown when a registry entry has an invalid or unsupported kind.| Property | Type | Value |
|---|---|---|
code | string | INVALID_REGISTRY_KIND |
statusCode | number | 500 |
isPublic | boolean | false |
NameDisambiguationError
Thrown when name disambiguation exceeds the maximum number of attempts.| Property | Type | Value |
|---|---|---|
code | string | NAME_DISAMBIGUATION_FAILED |
statusCode | number | 500 |
isPublic | boolean | false |
EntryValidationError
Thrown when a registry entry fails validation (e.g., missing a required property).| Property | Type | Value |
|---|---|---|
code | string | ENTRY_VALIDATION_FAILED |
statusCode | number | 500 |
isPublic | boolean | false |
FlowNotRegisteredError
Thrown when a flow is not found in the flow registry.| Property | Type | Value |
|---|---|---|
code | string | FLOW_NOT_REGISTERED |
statusCode | number | 500 |
isPublic | boolean | false |
UnsupportedHookOwnerKindError
Thrown when a hook has an unsupported owner kind.| Property | Type | Value |
|---|---|---|
code | string | UNSUPPORTED_HOOK_OWNER_KIND |
statusCode | number | 500 |
isPublic | boolean | false |
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).| Property | Type | Value |
|---|---|---|
code | string | INVALID_HOOK_FLOW |
statusCode | number | 500 |
isPublic | boolean | false |