aboutsummaryrefslogtreecommitdiff
path: root/docs/ext/commands
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-04-19 10:27:24 -0400
committerRapptz <[email protected]>2021-04-19 10:27:24 -0400
commit18bf3d3a7d833990c0c8c67fe1dd9824160ee762 (patch)
tree1365c71463874db7b29cc48be74ea2ba88850539 /docs/ext/commands
parent[commands] Initial support for FlagConverter (diff)
downloaddiscord.py-18bf3d3a7d833990c0c8c67fe1dd9824160ee762.tar.xz
discord.py-18bf3d3a7d833990c0c8c67fe1dd9824160ee762.zip
[commands] Actually expose the FlagError base error
Diffstat (limited to 'docs/ext/commands')
-rw-r--r--docs/ext/commands/api.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/ext/commands/api.rst b/docs/ext/commands/api.rst
index 2ccf7936..9cd655b4 100644
--- a/docs/ext/commands/api.rst
+++ b/docs/ext/commands/api.rst
@@ -467,6 +467,9 @@ Exceptions
.. autoexception:: discord.ext.commands.NSFWChannelRequired
:members:
+.. autoexception:: discord.ext.commands.FlagError
+ :members:
+
.. autoexception:: discord.ext.commands.BadFlagArgument
:members:
@@ -524,7 +527,8 @@ Exception Hierarchy
- :exc:`~.commands.EmojiNotFound`
- :exc:`~.commands.PartialEmojiConversionFailure`
- :exc:`~.commands.BadBoolArgument`
- - :exc:`~.commands.BadFlagArgument`
+ - :exc:`~.commands.FlagError`
+ - :exc:`~.commands.BadFlagArgument`
- :exc:`~.commands.MissingFlagArgument`
- :exc:`~.commands.TooManyFlags`
- :exc:`~.commands.MissingRequiredFlag`