Added ClusterValidationException

This commit is contained in:
tengqm 2014-12-25 19:36:43 +08:00
parent bc1a9337ce
commit 2390df8683

View File

@ -211,6 +211,10 @@ class ClusterExists(SenlinException):
msg_fmt = _("The Cluster (%(cluster_name)s) already exists.")
class ClusterValidationFailed(SenlinException):
msg_fmt = _("%(message)s")
class PolicyNotFound(SenlinException):
msg_fmt = _("The Policy (%(policy_name)s) could not be found.")