From afe67ebdc112f74e8cf5cf063fe8f6b2c43e4373 Mon Sep 17 00:00:00 2001 From: Julian Lechner Date: Mon, 24 Aug 2026 15:27:44 +0200 Subject: [PATCH] docs(errors): distinguish rejected operations --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 24323c3..944cb78 100644 --- a/README.md +++ b/README.md @@ -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 and unrecoverable connections before invoking the callback. +`onError` does not handle rejected `connect()`, `play()`, or `start()` calls. Await and catch those calls explicitly. + ## Development ```bash