summaryrefslogtreecommitdiffstats
path: root/vnftest/common/exceptions.py
diff options
context:
space:
mode:
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)"'