Function
fromFlatLoopFail
(prefix: ReadonlyArray<string>, path: string)
Source from the content-addressed store, hash-verified
| 459 | |
| 460 | const 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 */ |
| 470 | export const mapInputPath = dual< |
Tested by
no test coverage detected