remove old error codez

This commit is contained in:
vincent 2021-06-21 22:32:15 +02:00
parent c55fc07463
commit 718d573f8a

View File

@ -28,13 +28,11 @@ class ServerError(ITPlanningAPIException):
class Unauthorized(ITPlanningAPIException): class Unauthorized(ITPlanningAPIException):
code = 401 code = 401
api_code = 40
message = "Wrong username or password." message = "Wrong username or password."
class Forbidden(ITPlanningAPIException): class Forbidden(ITPlanningAPIException):
code = 403 code = 403
api_code = 50
message = "User is not authorized for the given operation." message = "User is not authorized for the given operation."