MythTV master
thewb_exceptions.py
Go to the documentation of this file.
1# -*- coding: UTF-8 -*-
2
3# ----------------------
4# Name: thewb_exceptions - Custom exceptions used or raised by thewb_api
5# Python Script
6# Author: R.D. Vaughan
7# Purpose: Custom exceptions used or raised by thewb_api
8#
9# License:Creative Commons GNU GPL v2
10# (http://creativecommons.org/licenses/GPL/2.0/)
11#-------------------------------------
12__title__ ="thewb_exceptions - Custom exceptions used or raised by thewb_api";
13__author__="R.D. Vaughan"
14__version__="v0.1.0"
15# 0.1.0 Initial development
16
17__all__ = ["TheWBUrlError", "TheWBHttpError", "TheWBRssError", "TheWBVideoNotFound", "TheWBConfigFileError", "TheWBUrlDownloadError"]
18
19class TheWBBaseError(Exception):
20 pass
21
23 def __repr__(self): # Display the type of error
24 return None
25 # end __repr__
26
28 def __repr__(self): # Display the type of error
29 return None
30 # end __repr__
31
33 def __repr__(self):
34 return None
35 # end __repr__
36
38 def __repr__(self):
39 return None
40 # end __repr__
41
43 def __repr__(self):
44 return None
45 # end __repr__
46
48 def __repr__(self):
49 return None
50 # end __repr__