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

Function fromFlatLoopFail

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

Source from the content-addressed store, hash-verified

459
460const fromFlatLoopFail =
461 (prefix: ReadonlyArray<string>, path: string) => (index: number): Either.Either<unknown, ConfigError.ConfigError> =>
462 Either.left(
463 configError.MissingData(
464 prefix,
465 `The element at index ${index} in a sequence at path "${path}" was missing`
466 )
467 )
468
469/** @internal */
470export const mapInputPath = dual<

Callers 1

fromFlatLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected