From: Alfredo Deza Date: Mon, 19 Jan 2015 16:58:15 +0000 (-0500) Subject: add the worker exceptions into their own module X-Git-Tag: v1.2.1~7^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2581d4c2ddd60daaaadd2b9450f67b09dde41396;p=radosgw-agent.git add the worker exceptions into their own module Signed-off-by: Alfredo Deza --- diff --git a/radosgw_agent/exceptions.py b/radosgw_agent/exceptions.py index d23aa22..1f3d0f1 100644 --- a/radosgw_agent/exceptions.py +++ b/radosgw_agent/exceptions.py @@ -40,3 +40,19 @@ class HttpError(ClientException): class NotFound(HttpError): pass + + +class SkipShard(Exception): + pass + + +class SyncError(Exception): + pass + + +class SyncTimedOut(SyncError): + pass + + +class SyncFailed(SyncError): + pass