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

This commit is contained in:
jack1142
2020-06-28 09:48:07 +02:00
committed by GitHub
parent b4b953bfc6
commit 84098ed824
3 changed files with 35 additions and 5 deletions

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`