MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / pluginStorageFailure

Function pluginStorageFailure

packages/core/sdk/src/executor.ts:837–838  ·  view source on GitHub ↗
(pluginId: string, hook: string, cause: unknown)

Source from the content-addressed store, hash-verified

835 isStorageFailure(cause) ? cause : new StorageError({ message, cause });
836
837const pluginStorageFailure = (pluginId: string, hook: string, cause: unknown): StorageFailure =>
838 storageFailureFromUnknown(`${hook} failed for plugin ${pluginId}`, cause);
839
840// oxlint-disable executor/no-instanceof-error, executor/no-unknown-error-message -- boundary: render an arbitrary failure into one readable log field
841/** One-line rendering of a failed rebuild, for the operator-facing warning.

Callers 7

integrationsRemoveFunction · 0.85
integrationsDetectFunction · 0.85
connectionsRemoveFunction · 0.85
toolSchemaFunction · 0.85
createExecutorFunction · 0.85
closeFunction · 0.85

Calls 1

Tested by

no test coverage detected