mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 08:56:19 +00:00
Raise special CommandSyncFailure during sync for better errors
This is parsed from the error to allow for users to better debug what exactly is causing the issue in sync.
This commit is contained in:
@ -721,6 +721,9 @@ Exceptions
|
||||
.. autoexception:: discord.app_commands.MissingApplicationID
|
||||
:members:
|
||||
|
||||
.. autoexception:: discord.app_commands.CommandSyncFailure
|
||||
:members:
|
||||
|
||||
Exception Hierarchy
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
@ -743,3 +746,6 @@ Exception Hierarchy
|
||||
- :exc:`~discord.app_commands.CommandSignatureMismatch`
|
||||
- :exc:`~discord.app_commands.CommandNotFound`
|
||||
- :exc:`~discord.app_commands.MissingApplicationID`
|
||||
- :exc:`~discord.app_commands.CommandSyncFailure`
|
||||
- :exc:`~discord.HTTPException`
|
||||
- :exc:`~discord.app_commands.CommandSyncFailure`
|
||||
|
Reference in New Issue
Block a user