docs(errors): distinguish rejected operations
Build Validation / build (push) Successful in 41s

This commit is contained in:
2026-08-24 15:27:44 +02:00
parent c4cd464bfa
commit afe67ebdc1
+2
View File
@@ -203,6 +203,8 @@ operations, such as calling `pause()` while nothing is playing, throw `AudioMana
Use `onError` to observe asynchronous audio player and voice connection errors. The manager cleans up failed playback Use `onError` to observe asynchronous audio player and voice connection errors. The manager cleans up failed playback
and unrecoverable connections before invoking the callback. and unrecoverable connections before invoking the callback.
`onError` does not handle rejected `connect()`, `play()`, or `start()` calls. Await and catch those calls explicitly.
## Development ## Development
```bash ```bash