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:
Rapptz committed 2022-08-12 22:36:13 -04:00
1 parent a9025ca3d1
commit 1fa7d7e402
5 files changed
+82 -7

No files matched your search

+1
View File
@@ -4724,4 +4724,5 @@ Exception Hierarchy
- :exc:`Forbidden`
- :exc:`NotFound`
- :exc:`DiscordServerError`
- :exc:`app_commands.CommandSyncFailure`
- :exc:`RateLimited`