aboutsummaryrefslogtreecommitdiffstats
path: root/servo
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2016-02-03 13:16:48 +0200
committerFilipp Lepalaan <filipp@mac.com>2016-02-03 13:16:48 +0200
commit2b622e5b17e86f1b3a050fbaee7f16a508566386 (patch)
tree7b0a367c879bdc23ae636dc7d632255d28012501 /servo
parent5091347c3ee9ef1bb92b3bc4b8b802f48326f30a (diff)
downloadServo-2b622e5b17e86f1b3a050fbaee7f16a508566386.tar.gz
Servo-2b622e5b17e86f1b3a050fbaee7f16a508566386.tar.bz2
Servo-2b622e5b17e86f1b3a050fbaee7f16a508566386.zip
Add custom exception for moving inventory to same location
Diffstat (limited to 'servo')
-rw-r--r--servo/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/servo/exceptions.py b/servo/exceptions.py
index f4910ba..2673e95 100644
--- a/servo/exceptions.py
+++ b/servo/exceptions.py
@@ -4,3 +4,8 @@
class ConfigurationError(Exception):
def __init__(self, arg):
super(ConfigurationError, self).__init__(arg)
+
+
+class InventoryAlreadyAtLocation(Exception):
+ def __init__(self, arg):
+ super(InventoryAlreadyAtLocation, self).__init__(arg)