MythTV  master
giantbomb_exceptions.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 # -*- coding: UTF-8 -*-
3 # ----------------------
4 # Name: giantbomb_exceptions - Custom exceptions used or raised by giantbomb_api
5 # Python Script
6 # Author: R.D. Vaughan
7 # Purpose: Custom exceptions used or raised by giantbomb_api
8 #
9 # License:Creative Commons GNU GPL v2
10 # (https://creativecommons.org/licenses/GPL/2.0/)
11 #-------------------------------------
12 __title__ ="giantbomb_exceptions - Custom exceptions used or raised by giantbomb_api";
13 __author__="R.D. Vaughan"
14 __version__="v0.1.0"
15 # 0.1.0 Initial development
16 
17 __all__ = ["GiantBombBaseError", "GiantBombHttpError", "GiantBombXmlError", "GiantBombGameNotFound", ]
18 
19 # Start of code used to access api.giantbomb.com api
20 class GiantBombBaseError(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__
giantbomb.giantbomb_exceptions.GiantBombHttpError
Definition: giantbomb_exceptions.py:23
giantbomb.giantbomb_exceptions.GiantBombXmlError.__repr__
def __repr__(self)
Definition: giantbomb_exceptions.py:29
giantbomb.giantbomb_exceptions.GiantBombBaseError
Definition: giantbomb_exceptions.py:20
giantbomb.giantbomb_exceptions.GiantBombHttpError.__repr__
def __repr__(self)
Definition: giantbomb_exceptions.py:24
giantbomb.giantbomb_exceptions.GiantBombXmlError
Definition: giantbomb_exceptions.py:28
giantbomb.giantbomb_exceptions.GiantBombGameNotFound
Definition: giantbomb_exceptions.py:33
giantbomb.giantbomb_exceptions.GiantBombGameNotFound.__repr__
def __repr__(self)
Definition: giantbomb_exceptions.py:34