diff options
Diffstat (limited to 'plugin.video.mediathekview/resources/lib/exceptions.py')
-rw-r--r-- | plugin.video.mediathekview/resources/lib/exceptions.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin.video.mediathekview/resources/lib/exceptions.py b/plugin.video.mediathekview/resources/lib/exceptions.py new file mode 100644 index 0000000..53d7f14 --- /dev/null +++ b/plugin.video.mediathekview/resources/lib/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""" |