dockercloud
This commit is contained in:
parent
86f4a232ff
commit
2d9586a8a1
41 changed files with 2701 additions and 2 deletions
16
dockercloud/api/exceptions.py
Normal file
16
dockercloud/api/exceptions.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue