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

Function stableMessage

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

Source from the content-addressed store, hash-verified

190 * exception.
191 */
192const stableMessage = (label: string, code: string | undefined): string =>
193 code ? `FumaDB ${label} failed: ${code}` : `FumaDB ${label} failed`;
194
195export const isStorageFailure = (error: unknown): error is StorageFailure =>
196 Predicate.isTagged(error, "StorageError") ||

Callers 1

fumaFailureFromCauseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected