From 5220d39633292d5cf725aff5bc41e9cba2e1236e Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Mon, 31 Aug 2020 15:05:37 -0500 Subject: [PATCH] Inherit exceptions from PGWUI_Core --- src/pgwui_common/exceptions.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pgwui_common/exceptions.py b/src/pgwui_common/exceptions.py index be829a5..95a5022 100644 --- a/src/pgwui_common/exceptions.py +++ b/src/pgwui_common/exceptions.py @@ -1,4 +1,5 @@ -# Copyright (C) 2018, 2019 The Meme Factory, Inc. http://www.karlpinc.com/ +# Copyright (C) 2018, 2019, 2020 The Meme Factory, Inc. +# http://www.karlpinc.com/ # This file is part of PGWUI_Server. # @@ -22,8 +23,10 @@ '''Exceptions for PGWUI_Common, shared by all PGWUI components ''' +from pgwui_core import exceptions as core_ex -class Error(Exception): + +class Error(core_ex.PGWUIError): '''Base error class for module ''' pass -- 2.34.1