summaryrefslogtreecommitdiffstats
path: root/custodia/store/interface.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-04-07 18:39:01 -0400
committerSimo Sorce <simo@redhat.com>2015-04-07 18:48:32 -0400
commit6e5a83f9d9ed80268ba29b1d2404f5d9897fe0c0 (patch)
tree6492c5f6f353fd727f834208b42949656d270a01 /custodia/store/interface.py
parentbdac4205f9467f752b5a8e3f424bfd82e67d7b9c (diff)
downloadcustodia-6e5a83f9d9ed80268ba29b1d2404f5d9897fe0c0.tar.gz
custodia-6e5a83f9d9ed80268ba29b1d2404f5d9897fe0c0.tar.xz
custodia-6e5a83f9d9ed80268ba29b1d2404f5d9897fe0c0.zip
Add explicit exception for storage conflicts
Diffstat (limited to 'custodia/store/interface.py')
-rw-r--r--custodia/store/interface.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/custodia/store/interface.py b/custodia/store/interface.py
index 3c7d620..5a7db93 100644
--- a/custodia/store/interface.py
+++ b/custodia/store/interface.py
@@ -5,6 +5,10 @@ class CSStoreError(Exception):
pass
+class CSStoreExists(Exception):
+ pass
+
+
class CSStore(object):
def get(self, key):