MythTV  master
rev3_exceptions.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: UTF-8 -*-
3 # ----------------------
4 # Name: rev3_exceptions - Custom exceptions used or raised by rev3_api
5 # Python Script
6 # Author: R.D. Vaughan
7 # Purpose: Custom exceptions used or raised by rev3_api
8 #
9 # License:Creative Commons GNU GPL v2
10 # (http://creativecommons.org/licenses/GPL/2.0/)
11 #-------------------------------------
12 __title__ ="rev3_exceptions - Custom exceptions used or raised by rev3_api";
13 __author__="R.D. Vaughan"
14 __version__="v0.1.0"
15 # 0.1.0 Initial development
16 
17 __all__ = ["Rev3UrlError", "Rev3HttpError", "Rev3RssError", "Rev3VideoNotFound", "Rev3ConfigFileError", "Rev3UrlDownloadError"]
18 
19 class Rev3BaseError(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.rev3.rev3_exceptions.Rev3HttpError.__repr__
def __repr__(self)
Definition: rev3_exceptions.py:28
nv_python_libs.rev3.rev3_exceptions.Rev3VideoNotFound.__repr__
def __repr__(self)
Definition: rev3_exceptions.py:38
nv_python_libs.rev3.rev3_exceptions.Rev3ConfigFileError
Definition: rev3_exceptions.py:42
nv_python_libs.rev3.rev3_exceptions.Rev3VideoNotFound
Definition: rev3_exceptions.py:37
nv_python_libs.rev3.rev3_exceptions.Rev3BaseError
Definition: rev3_exceptions.py:19
nv_python_libs.rev3.rev3_exceptions.Rev3HttpError
Definition: rev3_exceptions.py:27
nv_python_libs.rev3.rev3_exceptions.Rev3RssError.__repr__
def __repr__(self)
Definition: rev3_exceptions.py:33
nv_python_libs.rev3.rev3_exceptions.Rev3UrlDownloadError.__repr__
def __repr__(self)
Definition: rev3_exceptions.py:48
nv_python_libs.rev3.rev3_exceptions.Rev3UrlError
Definition: rev3_exceptions.py:22
nv_python_libs.rev3.rev3_exceptions.Rev3UrlError.__repr__
def __repr__(self)
Definition: rev3_exceptions.py:23
nv_python_libs.rev3.rev3_exceptions.Rev3UrlDownloadError
Definition: rev3_exceptions.py:47
nv_python_libs.rev3.rev3_exceptions.Rev3ConfigFileError.__repr__
def __repr__(self)
Definition: rev3_exceptions.py:43
nv_python_libs.rev3.rev3_exceptions.Rev3RssError
Definition: rev3_exceptions.py:32