| @ -1,46 +1,60 @@ | |||||
| class RiakcachedException(Exception): | class RiakcachedException(Exception): | ||||
| """ | |||||
| """Base class for Riakcached Exceptions | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedBadRequest(RiakcachedException): | class RiakcachedBadRequest(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised for unexpected HTTP 400 status responses | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedNotFound(RiakcachedException): | class RiakcachedNotFound(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised for unexpected HTTP 204 status responses | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedServiceUnavailable(RiakcachedException): | class RiakcachedServiceUnavailable(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised for unexpected HTTP 503 status responses | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedPreconditionFailed(RiakcachedException): | class RiakcachedPreconditionFailed(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised for unexpected HTTP 412 status responses | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedConflict(RiakcachedException): | class RiakcachedConflict(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised for unexpected HTTP 409 status responses | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedTimeout(RiakcachedException): | class RiakcachedTimeout(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised when pool requests takes too long | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||
| class RiakcachedConnectionError(RiakcachedException): | class RiakcachedConnectionError(RiakcachedException): | ||||
| """ | |||||
| """Exception that is raised when pool requests raises an `HTTPError` | |||||
| Inherits from :class:`riakcached.exceptions.RiakcachedException` | |||||
| """ | """ | ||||
| pass | pass | ||||