# E3022

Ill-formed list of alerts.

This error happens when the `alert-list` field in `moon.pkg` cannot be
parsed. The field uses the same compact list syntax as `warn-list`, with `+` to
enable an alert, `-` to disable an alert, and `@` to enable it as an error.

## Erroneous example

```{literalinclude} /sources/error_codes/3022_error/moon.pkg
:language: moonbit
```

## Suggestion

Use a valid alert-list entry:

```{literalinclude} /sources/error_codes/3022_fixed/moon.pkg
:language: moonbit
```
