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

Function stableMessage

packages/core/sdk/src/fuma-runtime.ts:173–174  ·  view source on GitHub ↗
(label: string, code: string | undefined)

Source from the content-addressed store, hash-verified

171 * exception.
172 */
173const stableMessage = (label: string, code: string | undefined): string =>
174 code ? `FumaDB ${label} failed: ${code}` : `FumaDB ${label} failed`;
175
176export const isStorageFailure = (error: unknown): error is StorageFailure =>
177 Predicate.isTagged(error, "StorageError") ||

Callers 1

fumaFailureFromCauseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected