MCPcopy Create free account
hub / github.com/Effect-TS/effect / failed

Function failed

packages/effect/src/ui/QueryPersistence.ts:125–131  ·  view source on GitHub ↗
(query: string, part: "encode" | "write")

Source from the content-addressed store, hash-verified

123 !holdsRedacted(def.success.ast) && !holdsRedacted(def.error.ast)
124
125const failed = (query: string, part: "encode" | "write"): SaveFailed =>
126 new SaveFailed({
127 query,
128 part,
129 message: "[QueryPersistence] an entry of " + JSON.stringify(query) +
130 " failed to " + part + ". It wasn't saved."
131 })
132
133/**
134 * Persists `persist` queries to the `KeyValueStore`, one key per entry

Callers 1

layerKvsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected