19 lines
499 B
Python
19 lines
499 B
Python
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'''
|
|
|
|
class DeleteEntryError(DataBaseError) :
|
|
'''Error in deleting entry'''
|
|
|
|
class UsernameLookupFailed(Exception):
|
|
'''Error in username lookup, is the player's nickname set correctly? *stares at aeskdar*'''
|
|
|