Merge "Add DeviceNotFoundError to neutron_lib exceptions"

This commit is contained in:
Jenkins 2016-08-12 15:53:53 +00:00 committed by Gerrit Code Review
commit 8ba11faff5
1 changed files with 4 additions and 0 deletions

View File

@ -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.")