# configuration/strings/location.strings.ts

> 14 lines of code and 6 definitions.

Tree: GovLab Paths
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/paths#file-paths-configuration-strings-location-strings-ts
Source text: https://banes-lab.com/source/paths/configuration/strings/location.strings.ts.txt

Listed in [configuration/strings](https://banes-lab.com/api/source/paths/configuration/strings.md).

## Definitions

- `unknownKey` (lexical_declaration, line 5, exported)
- `branchWithoutLocation` (lexical_declaration, line 9, exported)
- `descendsThroughLeaf` (lexical_declaration, line 13, exported)
- `rootNotFound` (lexical_declaration, line 17, exported)
- `INVALID_TREE` (lexical_declaration, line 1, exported)
- `INVALID_ABSOLUTE_TREE` (lexical_declaration, line 3, exported)

## Contained in

- [configuration/strings](https://banes-lab.com/anatomy/paths/folder-paths-configuration-strings.md)

## Used by

- [core/resolvers/location.resolver.ts](https://banes-lab.com/source/paths/core/resolvers/location.resolver.ts.md)
- [core/resolvers/location.root.resolver.ts](https://banes-lab.com/source/paths/core/resolvers/location.root.resolver.ts.md)

## Linked from

- [core/resolvers](https://banes-lab.com/anatomy/paths/folder-paths-core-resolvers.md)

## Source

```typescript
export const INVALID_TREE = "@ssot/paths: paths.yaml did not parse to a valid path tree";

export const INVALID_ABSOLUTE_TREE = "@ssot/paths: absolutized tree is not a valid path tree";

export const unknownKey = function unknownKey(key: string): string {
    return `@ssot/paths: unknown path key "${key}"`;
};

export const branchWithoutLocation = function branchWithoutLocation(key: string): string {
    return `@ssot/paths: path key "${key}" is a branch with no own location`;
};

export const descendsThroughLeaf = function descendsThroughLeaf(key: string): string {
    return `@ssot/paths: path key "${key}" descends through a leaf`;
};

export const rootNotFound = function rootNotFound(name: string): string {
    return `@ssot/paths: workspace root (package.json name '${name}') not found above this package`;
};
```
