# junction-invalid

> Talos next · Since next

A `junction` with fewer than two arms (a through road counts twice), an arm whose `road` is not an entity with a `road` component, an arm with both or neither of `end` and `atS`, a negative `atS`, or a negative `cornerRadiusM`.

| | |
|---|---|
| Severity | `error` |
| Source | `contract` |
| Offers a fix patch | no |

## Messages

The message opens with the code; `<…>` stands for a value.

- `a junction needs two arms or more (a through road counts twice), got <…>`
- `junction arm <…> names "<…>", which is not an entity with a road component`
- `junction arm <…> needs exactly one of end and atS`
- `junction arm <…>: atS is <…>; it must be a distance of 0 or more`
- `junction cornerRadiusM is <…>; it must be 0 or more`

## Components it can refuse

- `junction`
- `road`

## Since / changed

See the version chips above and what changed.
