remove old error codez
This commit is contained in:
parent
c55fc07463
commit
718d573f8a
@ -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."
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user