Merge "Remove 'InvalidParameter' exception type"
This commit is contained in:
@@ -50,7 +50,6 @@ class FaultWrapper(wsgi.Middleware):
|
||||
'Forbidden': webob.exc.HTTPForbidden,
|
||||
'InternalError': webob.exc.HTTPInternalServerError,
|
||||
'InvalidGlobalAPIVersion': webob.exc.HTTPNotAcceptable,
|
||||
'InvalidParameter': webob.exc.HTTPBadRequest,
|
||||
'InvalidSpec': webob.exc.HTTPBadRequest,
|
||||
'MethodVersionNotFound': webob.exc.HTTPBadRequest,
|
||||
'MultipleChoices': webob.exc.HTTPBadRequest,
|
||||
|
||||
@@ -103,10 +103,6 @@ class MultipleChoices(SenlinException):
|
||||
"Please be more specific.")
|
||||
|
||||
|
||||
class InvalidParameter(SenlinException):
|
||||
msg_fmt = _("Invalid value '%(value)s' specified for '%(name)s'")
|
||||
|
||||
|
||||
class ResourceNotFound(SenlinException):
|
||||
"""Generic exception for resource not found.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user