[Trivial] Remove an unused exception definition
Change-Id: Ib747fdbf1a58f5e574a2a38bc52b8d5ff2215782
This commit is contained in:
parent
112250e14e
commit
3daed76df8
@ -43,14 +43,6 @@ class ClientSideError(wsme.exc.ClientSideError):
|
||||
super(ClientSideError, self).__init__(error, status_code)
|
||||
|
||||
|
||||
class EntityNotFound(ClientSideError):
|
||||
def __init__(self, entity, id):
|
||||
super(EntityNotFound, self).__init__(
|
||||
_("%(entity)s %(id)s Not Found") % {'entity': entity,
|
||||
'id': id},
|
||||
status_code=404)
|
||||
|
||||
|
||||
class ProjectNotAuthorized(ClientSideError):
|
||||
def __init__(self, id, aspect='project'):
|
||||
params = dict(aspect=aspect, id=id)
|
||||
|
Loading…
Reference in New Issue
Block a user