# E3027

`guard!` cannot have an `else` clause. It is the explicit form of a terminating
guard: when its condition is false or its pattern does not match, the program
terminates.

## Erroneous example

```{literalinclude} /sources/error_codes/3027_error/top.mbt
:language: moonbit
```

## Suggestion

Use `guard` when an `else` clause is needed.

```{literalinclude} /sources/error_codes/3027_fixed/top.mbt
:language: moonbit
```
