From 45123401c4017bcb4ae49ba1d2e7f7b1a37cb81a Mon Sep 17 00:00:00 2001 From: Craig Warren Date: Thu, 11 Feb 2016 19:40:25 +0000 Subject: [PATCH] Added new exception. --- gprMax/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gprMax/exceptions.py b/gprMax/exceptions.py index 67710407..6b087a20 100644 --- a/gprMax/exceptions.py +++ b/gprMax/exceptions.py @@ -16,6 +16,10 @@ # You should have received a copy of the GNU General Public License # along with gprMax. If not, see . +class GeneralError(ValueError): + """Handles general errors. Subclasses the ValueError class.""" + pass + class CmdInputError(ValueError): """Handles errors in user specified commands. Subclasses the ValueError class.""" pass \ No newline at end of file