MythTV  master
bbciplayer_exceptions.py
Go to the documentation of this file.
1 # -*- coding: UTF-8 -*-
2 
3 # ----------------------
4 # Name: bbciplayer_exceptions - Custom exceptions used or raised by bbciplayer_api
5 # Python Script
6 # Author: R.D. Vaughan
7 # Purpose: Custom exceptions used or raised by bbciplayer_api
8 #
9 # License:Creative Commons GNU GPL v2
10 # (http://creativecommons.org/licenses/GPL/2.0/)
11 #-------------------------------------
12 __title__ ="bbciplayer_exceptions - Custom exceptions used or raised by bbciplayer_api";
13 __author__="R.D. Vaughan"
14 __version__="v0.1.0"
15 # 0.1.0 Initial development
16 
17 __all__ = ["BBCUrlError", "BBCHttpError", "BBCRssError", "BBCVideoNotFound", "BBCConfigFileError", "BBCUrlDownloadError"]
18 
19 class BBCBaseError(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__
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCVideoNotFound
Definition: bbciplayer_exceptions.py:37
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCHttpError
Definition: bbciplayer_exceptions.py:27
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCConfigFileError.__repr__
def __repr__(self)
Definition: bbciplayer_exceptions.py:43
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCRssError.__repr__
def __repr__(self)
Definition: bbciplayer_exceptions.py:33
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCBaseError
Definition: bbciplayer_exceptions.py:19
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCHttpError.__repr__
def __repr__(self)
Definition: bbciplayer_exceptions.py:28
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCConfigFileError
Definition: bbciplayer_exceptions.py:42
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCUrlDownloadError
Definition: bbciplayer_exceptions.py:47
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCVideoNotFound.__repr__
def __repr__(self)
Definition: bbciplayer_exceptions.py:38
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCUrlDownloadError.__repr__
def __repr__(self)
Definition: bbciplayer_exceptions.py:48
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCUrlError.__repr__
def __repr__(self)
Definition: bbciplayer_exceptions.py:23
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCRssError
Definition: bbciplayer_exceptions.py:32
nv_python_libs.bbciplayer.bbciplayer_exceptions.BBCUrlError
Definition: bbciplayer_exceptions.py:22