# KEXEP-0089: GuardOnReceiveClause

- Severity: error
- Stage: Parse
- Message: `'when' guards are not supported on receive clauses; check the condition inside the clause body instead`
- Slots: none
- Page: https://oops.kex.run/KEXEP-0089/
- Report a problem with it: https://github.com/kexhq/kex/issues/new?title=KEXEP-0089%3A%20&body=Diagnostic%3A%20%5BKEXEP-0089%5D%28https%3A%2F%2Foops.kex.run%2FKEXEP-0089%2F%29%20%28%60GuardOnReceiveClause%60%29%0AKex%20version%20%28%60kex%20--version%60%29%3A%20%0A%0A%23%23%23%20The%20program%0A%0A%60%60%60kex%0A%0A%60%60%60%0A%0A%23%23%23%20What%20the%20compiler%20printed%0A%0A%23%23%23%20What%20you%20expected%0A&labels=Error%20handling%20%26%20reporting

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXEP-0089]: Error, 'when' guards are not supported on receive clauses; check the condition inside the clause body instead
```

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