summaryrefslogtreecommitdiff
path: root/plugin.video.mediathekview/resources/lib/exceptions.py
blob: b66fb4f58ed3fc824305754400de4a5f58fdea3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# -*- 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"""

class ExitRequested( Exception ):
	"""This exception is thrown if the addon is shut down by Kodi or by another same addon"""