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

Function fileSystemError

tests/daemon-state.test.ts:22–29  ·  view source on GitHub ↗
(method: string, cause: unknown)

Source from the content-addressed store, hash-verified

20} from "../apps/cli/src/daemon-state";
21
22const fileSystemError = (method: string, cause: unknown) =>
23 PlatformError.systemError({
24 _tag: "Unknown",
25 module: "FileSystem",
26 method,
27 description: "FileSystem operation failed",
28 cause,
29 });
30
31const fileSystemLayer = FileSystem.layerNoop({
32 makeDirectory: (path, options) =>

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected