summaryrefslogtreecommitdiff
path: root/cmd2/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Made following changes to onecmd_plus_hooks()Kevin Van Brunt2020-05-071-4/+4
| | | | | 1. Added SystemExit handling by warning the user it's occured and setting stop to True 2. KeyboardInterrupts won't be raised if stop is already set to True.
* Added SkipPostcommandHooks exception and made Cmd2ArgparseError inherit from it.Kevin Van Brunt2020-05-071-5/+22
| | | | Both exception classes have been added to the public API.
* Simplfied _redirect_output() by raising exception instead of returning boolKevin Van Brunt2020-04-111-0/+5
|
* Added Cmd2ShlexErrorKevin Van Brunt2020-03-121-2/+11
|
* Changed name of exception class as requested in code reviewKevin Van Brunt2020-03-051-2/+2
|
* Prevent postcmd_hook from running when argparse failsKevin Van Brunt2020-03-051-0/+5
|
* Oops forgot to commit a fileTodd Leonhardt2020-02-181-0/+12