python-dockercloud/dockercloud/api/exceptions.py
2016-01-26 18:45:04 +01:00

16 lines
313 B
Python

class ApiError(Exception):
"""An error status code was returned when querying the HTTP API"""
pass
class AuthError(ApiError):
"""An 401 Unauthorized status code was returned when querying the API"""
pass
class NonUniqueIdentifier(ApiError):
pass
class ObjectNotFound(ApiError):
pass