X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2Futils%2Futils.py;h=83799e0e2555b75f94051b04aec9c912a45e226e;hb=774e755;hp=d226ef08303bf3fde53064743b73781e3e868158;hpb=f1ed2e8232b4ecabbfe65aa6ab2d28567989e104;p=mpd-sima.git diff --git a/sima/utils/utils.py b/sima/utils/utils.py index d226ef0..83799e0 100644 --- a/sima/utils/utils.py +++ b/sima/utils/utils.py @@ -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