Geoffrey-Django/BotErrors.py

11 lines
278 B
Python
Raw Normal View History

class DataBaseError(Exception):
'''Base class for exceptions in this module.'''
pass
class LocationInitError(DataBaseError):
'''Error in initializing Location'''
class LocationLookUpError(DataBaseError) :
'''Error in finding location in database'''