Merge "Add entity and name attribute to EntityNotFound"
This commit is contained in:
commit
14aae5032e
@ -130,6 +130,12 @@ class InvalidTemplateReference(HeatException):
|
||||
class EntityNotFound(HeatException):
|
||||
msg_fmt = _("The %(entity)s (%(name)s) could not be found.")
|
||||
|
||||
def __init__(self, entity=None, name=None, **kwargs):
|
||||
self.entity = entity
|
||||
self.name = name
|
||||
super(EntityNotFound, self).__init__(entity=entity, name=name,
|
||||
**kwargs)
|
||||
|
||||
|
||||
class PhysicalResourceNameAmbiguity(HeatException):
|
||||
msg_fmt = _(
|
||||
|
Loading…
x
Reference in New Issue
Block a user