MCPcopy Index your code
hub / github.com/Effect-TS/effect / storageError

Function storageError

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

Source from the content-addressed store, hash-verified

248
249/** @internal */
250const storageError = (props: Omit<ConstructorParameters<typeof PlatformError.SystemError>[0], "reason" | "module">) =>
251 new PlatformError.SystemError({
252 reason: "PermissionDenied",
253 module: "KeyValueStore",
254 ...props
255 })
256
257/** @internal */
258export const layerStorage = (evaluate: LazyArg<Storage>) =>

Callers 1

layerStorageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected