mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-03 08:35:53 +00:00
[commands] Clarify Converter.convert exception raising
This commit is contained in:
@ -126,6 +126,10 @@ class Converter(Protocol[T_co]):
|
||||
raise a :exc:`.CommandError` derived exception as it will
|
||||
properly propagate to the error handlers.
|
||||
|
||||
Note that if this method is called manually, :exc:`Exception`
|
||||
should be caught to handle the cases where a subclass does
|
||||
not explicitly inherit from :exc:`.CommandError`.
|
||||
|
||||
Parameters
|
||||
-----------
|
||||
ctx: :class:`.Context`
|
||||
|
Reference in New Issue
Block a user