Use SetupError name from pgwui_core instead of the old Error
authorKarl O. Pinc <kop@karlpinc.com>
Tue, 27 Apr 2021 21:12:30 +0000 (16:12 -0500)
committerKarl O. Pinc <kop@karlpinc.com>
Tue, 27 Apr 2021 21:12:30 +0000 (16:12 -0500)
src/pgwui_menu/exceptions.py

index 91785823acf6a4396ca95f6f4c8e413b493e0e7a..0e5596215bf2a1e16b4564f99c0103c6cf95187f 100644 (file)
 
 # Karl O. Pinc <kop@karlpinc.com>
 
-from pgwui_common import exceptions as common_ex
+from pgwui_common.exceptions import SetupError as MenuError
 
 
 # PGWUI setting related exceptions
 
-class MenuError(common_ex.Error):
-    pass
-
-
 class BadOrderItemError(MenuError):
     def __init__(self, components, value):
         super().__init__(