aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkhazhyk <[email protected]>2018-07-15 19:39:33 -0700
committerRapptz <[email protected]>2018-07-20 04:14:20 -0400
commit2321ae8d9766779cef9baa7cc299e72a2ac88141 (patch)
tree0b353231e7fa73b196ea4f5068cb9b4bfd60102c /docs
parent[docs] discord/client: remove reference to async_event (diff)
downloaddiscord.py-2321ae8d9766779cef9baa7cc299e72a2ac88141.tar.xz
discord.py-2321ae8d9766779cef9baa7cc299e72a2ac88141.zip
[commands] raise ConversionError on Converter error
This assumes that a Converter class raising non-CommandError is a programmer error. Makes this type of error easier to disambiguate from a generic BadArgument.
Diffstat (limited to 'docs')
-rw-r--r--docs/ext/commands/api.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index 0f61be2f..d983d1f1 100644
--- a/docs/ext/commands/api.rst
+++ b/docs/ext/commands/api.rst
@@ -187,6 +187,9 @@ Errors
.. autoexception:: discord.ext.commands.CommandError
:members:
+.. autoexception:: discord.ext.commands.ConversionError
+ :members:
+
.. autoexception:: discord.ext.commands.MissingRequiredArgument
:members: