# KEXET-0127: DeclaredReturnTypeMismatch

- Severity: error
- Stage: Types
- Message: `` `{name}` declared to return {expected} but body returns {actual} ``
- Slots: `name`, `expected`, `actual`
- Page: https://oops.kex.run/KEXET-0127/

The compiler reports it as:

```
file.kex:LINE:COLUMN: [KEXET-0127]: Error, `{name}` declared to return {expected} but body returns {actual}
```

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