Improve exception messages
This patch improves some exception messages. TrivialFix Depends-On: I1b97fe8541c1c1325aaad739a30e5989c1fd806a Change-Id: I71d107bed3685e4c7ac9a4fbae7172941f1e10e3
This commit is contained in:
parent
5727ad19df
commit
ab4daff32a
@ -50,15 +50,15 @@ class InvalidSourcePort(qexception.NotFound):
|
||||
|
||||
|
||||
class PortDoesNotBelongToTenant(qexception.NotAuthorized):
|
||||
message = _("The port specified does not belong to the tenant")
|
||||
message = _("The specified port does not belong to the tenant")
|
||||
|
||||
|
||||
class TapServiceNotBelongToTenant(qexception.NotAuthorized):
|
||||
message = _("Tap Service specified does not belong to the tenant")
|
||||
message = _("Specified Tap Service does not belong to the tenant")
|
||||
|
||||
|
||||
class TapServiceLimitReached(qexception.OverQuota):
|
||||
message = _("Reached the upper limit of Tap Services Creatable")
|
||||
message = _("Reached the maximum quota for Tap Services")
|
||||
|
||||
|
||||
direction_enum = [None, 'IN', 'OUT', 'BOTH']
|
||||
|
Loading…
x
Reference in New Issue
Block a user