Merge "Add DeviceNotFoundError to neutron_lib exceptions"
This commit is contained in:
commit
8ba11faff5
|
@ -99,6 +99,10 @@ class PortNotFoundOnNetwork(NotFound):
|
|||
"on network %(net_id)s.")
|
||||
|
||||
|
||||
class DeviceNotFoundError(NotFound):
|
||||
message = _("Device '%(device_name)s' does not exist.")
|
||||
|
||||
|
||||
class InUse(NeutronException):
|
||||
message = _("The resource is in use.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue