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

Function fromFlatLoopFail

packages/effect/src/internal/configProvider.ts:440–446  ·  view source on GitHub ↗
(prefix: ReadonlyArray<string>, path: string)

Source from the content-addressed store, hash-verified

438
439const fromFlatLoopFail =
440 (prefix: ReadonlyArray<string>, path: string) => (index: number): Either.Either<unknown, ConfigError.ConfigError> =>
441 Either.left(
442 configError.MissingData(
443 prefix,
444 `The element at index ${index} in a sequence at path "${path}" was missing`
445 )
446 )
447
448/** @internal */
449export const mapInputPath = dual<

Callers 1

fromFlatLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected