# KEXET-0123: ReturnsRigidTypeVariable

- Severity: error
- Stage: Types
- Message: `` `{name}` declared to return {expected} but body returns `{variable}`, which stands for any type ``
- Slots: `name`, `expected`, `variable`
- Page: https://oops.kex.run/KEXET-0123/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXET-0123]: Error, `{name}` declared to return {expected} but body returns `{variable}`, which stands for any type
```

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