Newer
Older
This module houses all classes of Exceptions of xsa.
Some are defined here just to hide exceptions from different libraries.
"""A new Exception-class, to differentiate between xsa and non-xsa Exceptions"""
pass
class ServerNotFoundError(Error):
pass
class DatabaseError(Error):
pass
class UnauthorizedError(Error):
"""Should be raised when the user-name or -password was incorrect."""
pass
class ResponseNotReady(Error):
pass
class EmptyResultset(Error):
"""Should be raised when the resultset of the given search is empty."""
"""Should be raised when the query-definition is incompatible."""
class NoRestApiError(Error):
"""Should be raised when no REST-API was defined in the json-file of a root-type"""
pass
class NoExtraSourceError(Error):
"""Should be raised when no comparision was defined in the json-file of a root-type"""
pass
"""Should be raised when the query-definition can not be loaded from file."""
class DownloadError(Error):
"""Should be raised when an error occurred while downloading."""
pass
class WritingError(Error):
"""Should be raised when an error occurred while writing something."""
pass