# KEXEP-0008: UnexpectedTokenInModuleBody

- Severity: error
- Stage: Parse
- Message: `unexpected token in module body: {token}`
- Slots: `token`
- Page: https://oops.kex.run/KEXEP-0008/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXEP-0008]: Error, unexpected token in module body: {token}
```

No explanation of this code has been written yet. The message above is all the compiler says about it.
