15 lines
613 B
Go
15 lines
613 B
Go
package exception
|
|
|
|
// jwt custom error code ,begin:200
|
|
var (
|
|
ErrAuthPasswd = ErrorJson(201, "Password Error")
|
|
ErrAuthNotFound = ErrorJson(202, "Auth Token Not Found")
|
|
ErrAuthParseFail = ErrorJson(203, "Auth Parse Fail")
|
|
ErrAuthId = ErrorJson(204, "Auth Id Not Passed")
|
|
ErrAuthIdentity = ErrorJson(205, "Auth Identity Not Passed")
|
|
ErrAuthTokenChanged = ErrorJson(206, "Auth Token Changed")
|
|
ErrAuthIdType = ErrorJson(207, "Auth Id Type Error")
|
|
ErrAuthExpire = ErrorJson(208, "Auth Token Expire")
|
|
ErrAuthClient = ErrorJson(208, "Auth Token Client Not Passed")
|
|
)
|