summaryrefslogtreecommitdiff
path: root/docs/api/exceptions.rst
Commit message (Collapse)AuthorAgeFilesLines
* Added cmd2.exceptions.PassThroughExceptionexception_passthroughKevin Van Brunt2021-03-021-0/+3
|
* Replaced choices_function / choices_method with choices_provider.Kevin Van Brunt2020-08-131-0/+3
| | | | | | | | | 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
* Verify that a completer function is defined in a CommandSet beforeEric Lin2020-08-061-0/+3
| | | | | | | | | | passing it a CommandSet instance. Search for a CommandSet instance that matches the completer's parent class type.` Resolves Issue #967 Renamed isolated_tests directory to tests_isolated for better visual grouping. Added some exception documentation
* Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it.Kevin Van Brunt2020-05-071-0/+11
| | | | Both exception classes have been added to the public API.
* Moved custom cmd2 exceptions to a separate file and removed them from public APITodd Leonhardt2020-02-181-4/+0
|
* EmbeddedConsoleExit should not be part of the public apikotfu2020-02-061-2/+0
|
* Clean up class and method referenceskotfu2020-02-051-1/+1
| | | | | - In docs/api/cmd.rst, the `cmd2.Cmd` class was defined as `cmd2.cmd2.Cmd`, which required the extraneous `cmd2` every time we referenced it. This extra `cmd2` is no longer required. - always refer to a bare cmd2 using ``cmd2`` per our documentation conventions
* Major overhaul of documentation structure for #709kotfu2019-07-021-0/+6