# configuration/strings/route.strings.ts

> 9 lines of code and 3 definitions.

Tree: Bane's Lab Build Scripts
Language: typescript
Layer: product
Canonical: https://banes-lab.com/anatomy/build-scripts#file-build-scripts-configuration-strings-route-strings-ts
Source text: https://banes-lab.com/source/build-scripts/configuration/strings/route.strings.ts.txt

Listed in [configuration/strings](https://banes-lab.com/api/source/build-scripts/configuration/strings.md), after [configuration/strings/payload.strings.ts](https://banes-lab.com/source/build-scripts/configuration/strings/payload.strings.ts.md) and before [configuration/strings/server.strings.ts](https://banes-lab.com/source/build-scripts/configuration/strings/server.strings.ts.md).

## Definitions

- `ledgerNotObject` (lexical_declaration, line 1, exported)
- `undatedRoute` (lexical_declaration, line 5, exported)
- `malformedStamps` (lexical_declaration, line 9, exported)

## Contained in

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

## Used by

- [core/converters/route.converter.ts](https://banes-lab.com/source/build-scripts/core/converters/route.converter.ts.md)

## Linked from

- [core/converters](https://banes-lab.com/anatomy/build-scripts/folder-build-scripts-core-converters.md)

## Source

```typescript
export const ledgerNotObject = function ledgerNotObject(sample: string): string {
    return `route ledger: expected an object of route stamps, got ${sample}`;
};

export const undatedRoute = function undatedRoute(path: string): string {
    return `route ledger: ${path}: no stamp`;
};

export const malformedStamps = function malformedStamps(paths: readonly string[]): string {
    return `route ledger: malformed stamps for ${paths.join(", ")}. Each stamp carries a fingerprint and a lastmod.`;
};
```
