[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:
khazhyk
2018-07-15 19:39:33 -07:00
committed by Rapptz
parent 87d9eefdef
commit 2321ae8d97
3 changed files with 47 additions and 26 deletions

View File

@ -187,6 +187,9 @@ Errors
.. autoexception:: discord.ext.commands.CommandError
:members:
.. autoexception:: discord.ext.commands.ConversionError
:members:
.. autoexception:: discord.ext.commands.MissingRequiredArgument
:members: