Initial import

This commit is contained in:
2010-02-23 10:16:25 +00:00
committed by dreddit
commit b8e5647148
26 changed files with 957 additions and 0 deletions

16
eve_api/api_exceptions.py Normal file
View File

@@ -0,0 +1,16 @@
"""
Contains exeptions used in the eve_api app.
"""
class APIAuthException(Exception):
"""
Raised when an invalid userID and/or authKey were provided.
"""
def __str__(self):
return "An authentication was encountered while querying the EVE API."
class APINoUserIDException(Exception):
"""
Raised when a userID is required, but missing.
"""
def __str__(self):
return "This query requires a valid userID, but yours is either missing or invalid."