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
20class 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__