diff --git a/neutron_lib/objects/exceptions.py b/neutron_lib/objects/exceptions.py index 5f17c3d98..32ec3d05a 100644 --- a/neutron_lib/objects/exceptions.py +++ b/neutron_lib/objects/exceptions.py @@ -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")