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