diff options
author | Leo Moll <leo.moll@dtms.de> | 2018-01-11 12:16:45 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2018-01-15 18:48:50 +0100 |
commit | e5d0f50b8d39ab7fd745b8f384ec622f6b0df5d9 (patch) | |
tree | 330896b0ec477109bcf87798feb7076a65588c45 /plugin.video.mediathekview/classes/exceptions.py | |
parent | 7614cf25cf45728579713777796a41bed914fe05 (diff) |
[plugin.video.mediathekview] 0.3.4
Diffstat (limited to 'plugin.video.mediathekview/classes/exceptions.py')
-rw-r--r-- | plugin.video.mediathekview/classes/exceptions.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin.video.mediathekview/classes/exceptions.py b/plugin.video.mediathekview/classes/exceptions.py new file mode 100644 index 0000000..53d7f14 --- /dev/null +++ b/plugin.video.mediathekview/classes/exceptions.py @@ -0,0 +1,9 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Leo Moll +# + +class DatabaseCorrupted( RuntimeError ): + """This exception is raised when the database throws errors during update""" + +class DatabaseLost( RuntimeError ): + """This exception is raised when the connection to the database is lost during update""" |