Inherit exceptions from PGWUI_Core
authorKarl O. Pinc <kop@karlpinc.com>
Mon, 31 Aug 2020 20:05:37 +0000 (15:05 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Mon, 31 Aug 2020 20:05:37 +0000 (15:05 -0500)
src/pgwui_common/exceptions.py

index be829a576e2a1ed438c259ed12ae07f916cbb625..95a5022416dc31af5ce9e8bb1191c1f17dd8fe61 100644 (file)
@@ -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.
 #
 '''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