MythTV master
common_exceptions.py
Go to the documentation of this file.
1# -*- coding: UTF-8 -*-
2
3# ----------------------
4# Name: common_exceptions - Custom exceptions used or raised by WebCgi_api
5# Python Script
6# Author: R.D. Vaughan
7# Purpose: Custom exceptions used or raised by common_api
8#
9# License:Creative Commons GNU GPL v2
10# (http://creativecommons.org/licenses/GPL/2.0/)
11#-------------------------------------
12__title__ ="common_exceptions - Custom exceptions used or raised by common_api.py";
13__author__="R.D. Vaughan"
14__version__="v0.1.2"
15# 0.1.0 Initial development
16# 0.1.1 Changes due to abanding the EMML Engine/Tomcat server and the addition of the common function class
17# 0.1.2 Changed naming convention to WebCgi
18
19__all__ = ["WebCgiUrlError", "WebCgiHttpError", "WebCgiRssError", "WebCgiVideoNotFound", "WebCgiInvalidSearchType", "WebCgiXmlError", "WebCgiVideoDetailError", "WebCgiCategoryNotFound", ]
20
21class WebCgiBaseError(Exception):
22 pass
23
25 def __repr__(self): # Display the type of error
26 return None
27 # end __repr__
28
30 def __repr__(self): # Display the type of error
31 return None
32 # end __repr__
33
35 def __repr__(self):
36 return None
37 # end __repr__
38
40 def __repr__(self):
41 return None
42 # end __repr__
43
45 def __repr__(self):
46 return None
47 # end __repr__
48
50 def __repr__(self):
51 return None
52 # end __repr__