2024-02-11 01:31:01 +08:00
|
|
|
package exception
|
|
|
|
|
|
|
|
// jwt custom error code ,begin:200
|
|
|
|
var (
|
2024-02-20 14:55:45 +08:00
|
|
|
ErrAuthPasswd = Errorf(201, "Password Error")
|
|
|
|
ErrAuthNotFound = Errorf(202, "Auth Token Not Found")
|
|
|
|
ErrAuthParseFail = Errorf(203, "Auth Parse Fail")
|
|
|
|
ErrAuthId = Errorf(204, "Auth Id Not Passed")
|
|
|
|
ErrAuthIdentity = Errorf(205, "Auth Identity Not Passed")
|
|
|
|
ErrAuthTokenChanged = Errorf(206, "Auth Token Changed")
|
|
|
|
ErrAuthIdType = Errorf(207, "Auth Id Type Error")
|
|
|
|
ErrAuthExpire = Errorf(208, "Auth Token Expire")
|
|
|
|
ErrAuthClient = Errorf(208, "Auth Token Client Not Passed")
|
2024-02-11 01:31:01 +08:00
|
|
|
)
|