mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-21 10:26:47 +00:00
[commands] Actually expose the FlagError base error
This commit is contained in:
parent
ddb71e2aed
commit
18bf3d3a7d
@ -75,6 +75,7 @@ __all__ = (
|
|||||||
'ExtensionFailed',
|
'ExtensionFailed',
|
||||||
'ExtensionNotFound',
|
'ExtensionNotFound',
|
||||||
'CommandRegistrationError',
|
'CommandRegistrationError',
|
||||||
|
'FlagError',
|
||||||
'BadFlagArgument',
|
'BadFlagArgument',
|
||||||
'MissingFlagArgument',
|
'MissingFlagArgument',
|
||||||
'TooManyFlags',
|
'TooManyFlags',
|
||||||
|
@ -467,6 +467,9 @@ Exceptions
|
|||||||
.. autoexception:: discord.ext.commands.NSFWChannelRequired
|
.. autoexception:: discord.ext.commands.NSFWChannelRequired
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
|
.. autoexception:: discord.ext.commands.FlagError
|
||||||
|
:members:
|
||||||
|
|
||||||
.. autoexception:: discord.ext.commands.BadFlagArgument
|
.. autoexception:: discord.ext.commands.BadFlagArgument
|
||||||
:members:
|
:members:
|
||||||
|
|
||||||
@ -524,7 +527,8 @@ Exception Hierarchy
|
|||||||
- :exc:`~.commands.EmojiNotFound`
|
- :exc:`~.commands.EmojiNotFound`
|
||||||
- :exc:`~.commands.PartialEmojiConversionFailure`
|
- :exc:`~.commands.PartialEmojiConversionFailure`
|
||||||
- :exc:`~.commands.BadBoolArgument`
|
- :exc:`~.commands.BadBoolArgument`
|
||||||
- :exc:`~.commands.BadFlagArgument`
|
- :exc:`~.commands.FlagError`
|
||||||
|
- :exc:`~.commands.BadFlagArgument`
|
||||||
- :exc:`~.commands.MissingFlagArgument`
|
- :exc:`~.commands.MissingFlagArgument`
|
||||||
- :exc:`~.commands.TooManyFlags`
|
- :exc:`~.commands.TooManyFlags`
|
||||||
- :exc:`~.commands.MissingRequiredFlag`
|
- :exc:`~.commands.MissingRequiredFlag`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user