summaryrefslogtreecommitdiffstats
path: root/vnftest/common/exceptions.py
diff options
context:
space:
mode:
authorMoshe <moshehoa@amdocs.com>2018-03-06 18:50:02 +0200
committerMoshe <moshehoa@amdocs.com>2018-03-06 18:51:42 +0200
commit976c2a916ea810effc34c5838b80b83bc9f8e6e0 (patch)
tree432fb4af11e213f759d3156414e9958f4dc12ff3 /vnftest/common/exceptions.py
parent0bb532c41e89568966ca2bfae259737e8830249b (diff)
handle results format
Issue-ID: VNFSDK-195 Change-Id: I31f07515b252247fe777791d883d37ba9ba1bd6a Signed-off-by: Moshe <moshehoa@amdocs.com>
Diffstat (limited to 'vnftest/common/exceptions.py')
-rw-r--r--vnftest/common/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/vnftest/common/exceptions.py b/vnftest/common/exceptions.py
index 6273cd3..9dc1ead 100644
--- a/vnftest/common/exceptions.py
+++ b/vnftest/common/exceptions.py
@@ -59,3 +59,7 @@ class VnftestException(Exception):
class FunctionNotImplemented(VnftestException):
message = ('The function "%(function_name)s" is not implemented in '
'"%(class_name)" class.')
+
+
+class MandatoryKeyException(VnftestException):
+ message = 'No value found for key %(key_name)" in "%(dict_str)"'