# goal-order

> Talos 0.6 · Since 0.6

Goals carrying `order` do not form the strict sequence 1..n.

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

## Messages

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

- `goal "<…>" has order <…>; order must be a positive integer`
- `ordered goals must form the sequence 1..<…>; expected <…>, found <…>`

## Where it points

- `/entities/<n>/components/<n>/order`

## Critic checks

- `goal-order`

## Components it can refuse

- `goal`

## Since / changed

See the version chips above and what changed.
