diff options
Diffstat (limited to 'plugin.video.mediathekview/resources/lib/exceptions.py')
-rw-r--r-- | plugin.video.mediathekview/resources/lib/exceptions.py | 3 |
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""" |