[commands] Add a new exception class for command registration errors

This commit is contained in:
jack1142 authored and GitHub committed 2020-06-28 03:48:07 -04:00
1 parent b4b953bfc6
commit 84098ed824
3 files changed
+35 -5

No files matched your search

+5
View File
@@ -377,6 +377,9 @@ Exceptions
.. autoexception:: discord.ext.commands.ExtensionNotFound
:members:
.. autoexception:: discord.ext.commands.CommandRegistrationError
:members:
Exception Hierarchy
+++++++++++++++++++++
@@ -418,3 +421,5 @@ Exception Hierarchy
- :exc:`~.commands.NoEntryPointError`
- :exc:`~.commands.ExtensionFailed`
- :exc:`~.commands.ExtensionNotFound`
- :exc:`~.ClientException`
- :exc:`~.commands.CommandRegistrationError`