]> kaliko git repositories - mpd-sima.git/blobdiff - sima/utils/utils.py
Some refactoring around Exceptions
[mpd-sima.git] / sima / utils / utils.py
index d226ef08303bf3fde53064743b73781e3e868158..83799e0e2555b75f94051b04aec9c912a45e226e 100644 (file)
@@ -100,10 +100,6 @@ def exception_log():
     sys.exit(1)
 
 
-class SigHup(Exception):
-    """SIGHUP raises this Exception"""
-
-
 # ArgParse Callbacks
 class Obsolete(Action):
     # pylint: disable=R0903
@@ -193,6 +189,10 @@ class MPDSimaException(Exception):
     """Generic MPD_sima Exception"""
 
 
+class SigHup(MPDSimaException):
+    """SIGHUP raises this Exception"""
+
+
 # http client exceptions (for webservices)
 class WSError(MPDSimaException):
     pass