Errors

Mpd 3.18 User Manual : Chat Scripting : Errors
Previous: Script commands
Next: The included `mpd.script`

## 6.6. Errors

Any errors in the script cause the script to exit unsuccessfully. Examples of errors include:

- A `call` or `goto` to a non-existent label
- A `return` without a corresponding `call`
- Executing `wait` without any events pending
- Execution falling off the end of the script
- Trying to assign `$Baudrate` an invalid baudrate
- Trying to match with an invalid regular expression

Mpd 3.18 User Manual : Chat Scripting : Errors
Previous: Script commands
Next: The included `mpd.script`