From d17f79428a41a5239c4fdbdf9745c294649f49e8 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Thu, 5 Mar 2020 19:19:38 -0500 Subject: Changed name of exception class as requested in code review --- cmd2/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd2/exceptions.py') 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 -- cgit v1.2.1