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

Function failure

packages/effect/test/FileSystem.test.ts:32–33  ·  view source on GitHub ↗
(_tag: PlatformError.SystemErrorTag, method: string, path: string)

Source from the content-addressed store, hash-verified

30})
31
32const failure = (_tag: PlatformError.SystemErrorTag, method: string, path: string) =>
33 PlatformError.systemError({ _tag, module: "FileSystem", method, pathOrDescriptor: path })
34
35// Each directory holds the file `x.ts`. Listings report every entry as
36// `"Unknown"`, so `glob` learns entry types from `stat` and `readLink`.

Callers 3

readDirectoryFunction · 0.70
makeFileSystemFunction · 0.70
FileSystem.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected