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

Function storageError

packages/platform/src/internal/keyValueStore.ts:268–273  ·  view source on GitHub ↗
(props: Omit<ConstructorParameters<typeof PlatformError.SystemError>[0], "reason" | "module">)

Source from the content-addressed store, hash-verified

266
267/** @internal */
268const storageError = (props: Omit<ConstructorParameters<typeof PlatformError.SystemError>[0], "reason" | "module">) =>
269 new PlatformError.SystemError({
270 reason: "PermissionDenied",
271 module: "KeyValueStore",
272 ...props
273 })
274
275/** @internal */
276export const layerStorage = (evaluate: LazyArg<Storage>) =>

Callers 1

layerStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected