MythTV  master
mtv_exceptions.py
Go to the documentation of this file.
1 # -*- coding: UTF-8 -*-
2 
3 # ----------------------
4 # Name: mtv_exceptions - Custom exceptions used or raised by mtv_api
5 # Python Script
6 # Author: R.D. Vaughan
7 # Purpose: Custom exceptions used or raised by mtv_api
8 #
9 # License:Creative Commons GNU GPL v2
10 # (http://creativecommons.org/licenses/GPL/2.0/)
11 #-------------------------------------
12 __title__ ="mtv_exceptions - Custom exceptions used or raised by mtv_api";
13 __author__="R.D. Vaughan"
14 __version__="v0.2.0"
15 # 0.1.0 Initial development
16 # 0.2.0 Public release
17 
18 __all__ = ["MtvUrlError", "MtvHttpError", "MtvRssError", "MtvVideoNotFound", "MtvInvalidSearchType", "MtvXmlError", "MtvVideoDetailError", ]
19 
20 class mtvBaseError(Exception):
21  pass
22 
24  def __repr__(self): # Display the type of error
25  return None
26  # end __repr__
27 
29  def __repr__(self): # Display the type of error
30  return None
31  # end __repr__
32 
34  def __repr__(self):
35  return None
36  # end __repr__
37 
39  def __repr__(self):
40  return None
41  # end __repr__
42 
44  def __repr__(self):
45  return None
46  # end __repr__
47 
49  def __repr__(self):
50  return None
51  # end __repr__
52 
54  def __repr__(self):
55  return None
56  # end __repr__
nv_python_libs.mtv.mtv_exceptions.MtvVideoDetailError.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:54
nv_python_libs.mtv.mtv_exceptions.MtvHttpError.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:29
nv_python_libs.mtv.mtv_exceptions.MtvRssError
Definition: mtv_exceptions.py:33
nv_python_libs.mtv.mtv_exceptions.MtvUrlError.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:24
nv_python_libs.mtv.mtv_exceptions.MtvVideoNotFound
Definition: mtv_exceptions.py:38
nv_python_libs.mtv.mtv_exceptions.MtvHttpError
Definition: mtv_exceptions.py:28
nv_python_libs.mtv.mtv_exceptions.MtvUrlError
Definition: mtv_exceptions.py:23
nv_python_libs.mtv.mtv_exceptions.MtvVideoDetailError
Definition: mtv_exceptions.py:53
nv_python_libs.mtv.mtv_exceptions.MtvVideoNotFound.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:39
nv_python_libs.mtv.mtv_exceptions.mtvBaseError
Definition: mtv_exceptions.py:20
nv_python_libs.mtv.mtv_exceptions.MtvXmlError.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:49
nv_python_libs.mtv.mtv_exceptions.MtvInvalidSearchType
Definition: mtv_exceptions.py:43
nv_python_libs.mtv.mtv_exceptions.MtvRssError.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:34
nv_python_libs.mtv.mtv_exceptions.MtvXmlError
Definition: mtv_exceptions.py:48
nv_python_libs.mtv.mtv_exceptions.MtvInvalidSearchType.__repr__
def __repr__(self)
Definition: mtv_exceptions.py:44