summaryrefslogtreecommitdiff
path: root/service/pixelated/adapter/errors
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2015-09-25 19:05:01 -0300
committerJefferson Stachelski <jstachel@thoughtworks.com>2015-09-25 19:06:48 -0300
commit6df9e2c2646975ffc7c312f675591870eb4b2ad8 (patch)
treec1251c6d4710240fd78b4ba24f10120ac9d300f8 /service/pixelated/adapter/errors
parentd186b0204f738367d530514707d0f95a6d4bf865 (diff)
Issue #470 handling the update draft
Deleting the new draft created if the old one was not found to fix the duplication drafts
Diffstat (limited to 'service/pixelated/adapter/errors')
-rw-r--r--service/pixelated/adapter/errors/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/service/pixelated/adapter/errors/__init__.py b/service/pixelated/adapter/errors/__init__.py
new file mode 100644
index 00000000..31ad4947
--- /dev/null
+++ b/service/pixelated/adapter/errors/__init__.py
@@ -0,0 +1,3 @@
+class DuplicatedDraftException(Exception):
+ def __init__(self, message):
+ super(Exception, self).__init__(message)