summaryrefslogtreecommitdiff
path: root/cmd2/exceptions.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-08-04 11:56:57 -0400
committeranselor <anselor@gmail.com>2020-08-04 13:38:08 -0400
commit4c0bdad9acd578536436246023ae884755089040 (patch)
treecd5e9a4f296982ff870f12023e38a6edd6954d51 /cmd2/exceptions.py
parent2d24953c71f8e850b5925c3923cbb596de4b0813 (diff)
downloadcmd2-git-4c0bdad9acd578536436246023ae884755089040.tar.gz
Minor formatting fixes. Injecting a function into namespace objects before passing to command handlers to access sub-command handlers
Diffstat (limited to 'cmd2/exceptions.py')
-rw-r--r--cmd2/exceptions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd2/exceptions.py b/cmd2/exceptions.py
index c1815e1b..b928f293 100644
--- a/cmd2/exceptions.py
+++ b/cmd2/exceptions.py
@@ -31,6 +31,7 @@ class CommandSetRegistrationError(Exception):
# The following exceptions are NOT part of the public API and are intended for internal use only.
############################################################################################################
+
class Cmd2ShlexError(Exception):
"""Raised when shlex fails to parse a command line string in StatementParser"""
pass