diff options
| author | jack1142 <[email protected]> | 2020-06-28 09:48:07 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-06-28 03:48:07 -0400 |
| commit | 84098ed82445bdaebc6636800644a01c52644f60 (patch) | |
| tree | 93afde0094cf219c80a3bc4ab1c9b403b1715d99 /docs/ext/commands/api.rst | |
| parent | Fix various inconsistencies within the documentation (#5067) (diff) | |
| download | discord.py-84098ed82445bdaebc6636800644a01c52644f60.tar.xz discord.py-84098ed82445bdaebc6636800644a01c52644f60.zip | |
[commands] Add a new exception class for command registration errors
Diffstat (limited to 'docs/ext/commands/api.rst')
| -rw-r--r-- | docs/ext/commands/api.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst index 61488c08..d049e20b 100644 --- a/docs/ext/commands/api.rst +++ b/docs/ext/commands/api.rst @@ -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` |