summaryrefslogtreecommitdiff
path: root/cmd2/exceptions.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-03-05 19:19:38 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-03-05 19:19:38 -0500
commitd17f79428a41a5239c4fdbdf9745c294649f49e8 (patch)
tree33a751c3200fefb57ab4b2721136b72d45296074 /cmd2/exceptions.py
parent4ce15df09106b689a36479f1ffdec07838d8802d (diff)
downloadcmd2-git-d17f79428a41a5239c4fdbdf9745c294649f49e8.tar.gz
Changed name of exception class as requested in code review
Diffstat (limited to 'cmd2/exceptions.py')
-rw-r--r--cmd2/exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd2/exceptions.py b/cmd2/exceptions.py
index 1c00794f..1fffed1c 100644
--- a/cmd2/exceptions.py
+++ b/cmd2/exceptions.py
@@ -2,8 +2,8 @@
"""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"""
+class Cmd2ArgparseException(Exception):
+ """Custom exception class for when an argparse-decorated command has an error parsing its arguments"""
pass