diff options
Diffstat (limited to 'cmd2/exceptions.py')
-rw-r--r-- | cmd2/exceptions.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd2/exceptions.py b/cmd2/exceptions.py index 747e2368..1c00794f 100644 --- a/cmd2/exceptions.py +++ b/cmd2/exceptions.py @@ -2,6 +2,11 @@ """Custom exceptions for cmd2. These are NOT part of the public API and are intended for internal use only.""" +class CmdLineError(Exception): + """Custom class for when an error occurred parsing the command line""" + pass + + class EmbeddedConsoleExit(SystemExit): """Custom exception class for use with the py command.""" pass |