Merge "Add exception when a synthetic field is invalid"

This commit is contained in:
Jenkins 2017-09-06 21:56:55 +00:00 committed by Gerrit Code Review
commit 777dbaa7ba
1 changed files with 5 additions and 0 deletions

View File

@ -60,3 +60,8 @@ class NeutronSyntheticFieldMultipleForeignKeys(exceptions.NeutronException):
class NeutronSyntheticFieldsForeignKeysNotFound(exceptions.NeutronException):
message = _("%(child)s does not define a foreign key for %(parent)s")
class NeutronObjectValidatorException(exceptions.NeutronException):
message = _("Synthetic field(s) %(fields)s undefined, misspelled, or "
"otherwise invalid")