Source code for hoss.error

[docs]class HossException(Exception): """A general exception raised by the hoss package""" pass
[docs]class NotAuthorizedException(HossException): """You are not authorized to access this API/resource""" pass
[docs]class NotFoundException(HossException): """The specified resource was not found""" pass
[docs]class AlreadyExistsException(HossException): """The specified resource already exists""" pass
[docs]class ServerCheckError(Exception): """An error occurred while trying to fetch the server version""" pass