diff options
author | Emma Foley <emma.l.foley@intel.com> | 2018-06-29 08:36:04 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-06-29 08:36:04 +0000 |
commit | 1e515b6cc3dd15c399f2663999c9734610494e5c (patch) | |
tree | c40f1cf484ddf0d6d5bba1f749192bd594ffcda2 /yardstick/common | |
parent | eb54a9e65e838e092e5acb5a8bd4119dd2e9f556 (diff) | |
parent | eaebb40c960284d7d4ce9ad6221cba32c04a2827 (diff) |
Merge "Convert SLA asserts to raises" into stable/fraser
Diffstat (limited to 'yardstick/common')
-rw-r--r-- | yardstick/common/exceptions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py index fa002c08c..b854e374e 100644 --- a/yardstick/common/exceptions.py +++ b/yardstick/common/exceptions.py @@ -301,3 +301,7 @@ class AclMissingActionArguments(YardstickException): class AclUknownActionTemplate(YardstickException): message = 'No ACL CLI template found for "%(action_name)s" action' + + +class SLAValidationError(YardstickException): + message = '%(case_name)s SLA validation failed. Error: %(error_msg)s' |