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

Function notFound

packages/effect/test/ConfigProvider.test.ts:5–10  ·  view source on GitHub ↗
(method: string)

Source from the content-addressed store, hash-verified

3import { ConfigProvider, Effect, FileSystem, Layer, Path, PlatformError, Result } from "effect"
4
5const notFound = (method: string): PlatformError.PlatformError =>
6 PlatformError.systemError({
7 module: "FileSystem",
8 _tag: "NotFound",
9 method
10 })
11
12async function assertSuccess(
13 provider: ConfigProvider.ConfigProvider,

Callers 3

readFileStringFunction · 0.70
readDirectoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected