summaryrefslogtreecommitdiff
path: root/plugin.video.mediathekview/resources/lib/exceptions.py
diff options
context:
space:
mode:
authorLeo Moll <leo.moll@dtms.de>2018-01-22 01:01:34 +0100
committerMartijn Kaijser <martijn@xbmc.org>2018-01-22 16:58:17 +0100
commita55a6475b943a804fd76b5181b7d82968c2ea096 (patch)
treec763016250990d9699a589972e5234b54745845a /plugin.video.mediathekview/resources/lib/exceptions.py
parenta266c01d2aa6e4e54ccfd37e79170fbb7ebc2a0a (diff)
[plugin.video.mediathekview] 0.4.2
Diffstat (limited to 'plugin.video.mediathekview/resources/lib/exceptions.py')
-rw-r--r--plugin.video.mediathekview/resources/lib/exceptions.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin.video.mediathekview/resources/lib/exceptions.py b/plugin.video.mediathekview/resources/lib/exceptions.py
index 53d7f14..b66fb4f 100644
--- a/plugin.video.mediathekview/resources/lib/exceptions.py
+++ b/plugin.video.mediathekview/resources/lib/exceptions.py
@@ -7,3 +7,6 @@ class DatabaseCorrupted( RuntimeError ):
class DatabaseLost( RuntimeError ):
"""This exception is raised when the connection to the database is lost during update"""
+
+class ExitRequested( Exception ):
+ """This exception is thrown if the addon is shut down by Kodi or by another same addon"""