From 84098ed82445bdaebc6636800644a01c52644f60 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Sun, 28 Jun 2020 09:48:07 +0200 Subject: [commands] Add a new exception class for command registration errors --- docs/ext/commands/api.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') 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` -- cgit v1.2.3