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 
21 class 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__
nv_python_libs.common.common_exceptions.WebCgiInvalidSearchType
Definition: common_exceptions.py:44
nv_python_libs.common.common_exceptions.WebCgiBaseError
Definition: common_exceptions.py:21
nv_python_libs.common.common_exceptions.WebCgiUrlError.__repr__
def __repr__(self)
Definition: common_exceptions.py:25
nv_python_libs.common.common_exceptions.WebCgiInvalidSearchType.__repr__
def __repr__(self)
Definition: common_exceptions.py:45
nv_python_libs.common.common_exceptions.WebCgiVideoNotFound.__repr__
def __repr__(self)
Definition: common_exceptions.py:40
nv_python_libs.common.common_exceptions.WebCgiHttpError
Definition: common_exceptions.py:29
nv_python_libs.common.common_exceptions.WebCgiRssError.__repr__
def __repr__(self)
Definition: common_exceptions.py:35
nv_python_libs.common.common_exceptions.WebCgiXmlError
Definition: common_exceptions.py:49
nv_python_libs.common.common_exceptions.WebCgiVideoNotFound
Definition: common_exceptions.py:39
nv_python_libs.common.common_exceptions.WebCgiXmlError.__repr__
def __repr__(self)
Definition: common_exceptions.py:50
nv_python_libs.common.common_exceptions.WebCgiHttpError.__repr__
def __repr__(self)
Definition: common_exceptions.py:30
nv_python_libs.common.common_exceptions.WebCgiUrlError
Definition: common_exceptions.py:24
nv_python_libs.common.common_exceptions.WebCgiRssError
Definition: common_exceptions.py:34