[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.
This commit is contained in:
1 parent
87d9eefdef
commit
2321ae8d97
3 files changed
+47
-26
No files matched your search
@@ -187,6 +187,9 @@ Errors
|
||||
.. autoexception:: discord.ext.commands.CommandError
|
||||
:members:
|
||||
|
||||
.. autoexception:: discord.ext.commands.ConversionError
|
||||
:members:
|
||||
|
||||
.. autoexception:: discord.ext.commands.MissingRequiredArgument
|
||||
:members:
|
||||
|
||||
|
||||
Reference in new issue
Block a user