summaryrefslogtreecommitdiff
path: root/docs/api/exceptions.rst
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-08-13 14:19:05 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-08-13 14:20:31 -0400
commite6da8596c433f46bc337c7e8a14c7de1b0310e4c (patch)
tree09f5a3225376e26dcb03419d6243c8fc52433b07 /docs/api/exceptions.rst
parent5dd2d03ef35a3d33ff53d82c8039d68e263246ee (diff)
downloadcmd2-git-e6da8596c433f46bc337c7e8a14c7de1b0310e4c.tar.gz
Replaced choices_function / choices_method with choices_provider.
Replaced completer_function / completer_method with completer. ArgparseCompleter now always passes cmd2.Cmd or CommandSet instance as the self argument to choices_provider and completer functions. Moved basic_complete from utils into cmd2.Cmd class. Moved CompletionError to exceptions.py
Diffstat (limited to 'docs/api/exceptions.rst')
-rw-r--r--docs/api/exceptions.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/api/exceptions.rst b/docs/api/exceptions.rst
index db23eb0a..98afa97a 100644
--- a/docs/api/exceptions.rst
+++ b/docs/api/exceptions.rst
@@ -12,3 +12,6 @@ Custom cmd2 exceptions
.. autoclass:: cmd2.exceptions.CommandSetRegistrationError
:members:
+
+.. autoclass:: cmd2.exceptions.CompletionError
+ :members: