From 2321ae8d9766779cef9baa7cc299e72a2ac88141 Mon Sep 17 00:00:00 2001 From: khazhyk Date: Sun, 15 Jul 2018 19:39:33 -0700 Subject: [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. --- docs/ext/commands/api.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') 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: -- cgit v1.2.3