Fix FFmpeg errors not sent to after callback

This commit is contained in:
levin
2026-02-25 18:03:02 +01:00
committed by GitHub
parent 59d7a55a41
commit 7f9c3b1b40
3 changed files with 83 additions and 9 deletions

View File

@@ -48,6 +48,7 @@ __all__ = (
'PrivilegedIntentsRequired',
'InteractionResponded',
'MissingApplicationID',
'FFmpegProcessError',
)
APP_ID_NOT_FOUND = (
@@ -74,6 +75,15 @@ class ClientException(DiscordException):
pass
class FFmpegProcessError(ClientException):
"""Exception that's raised when an FFmpeg process fails.
.. versionadded:: 2.7
"""
pass
class GatewayNotFound(DiscordException):
"""An exception that is raised when the gateway for Discord could not be found"""