add err code

This commit is contained in:
yanweidong 2025-04-19 20:14:37 +08:00
parent 52a81a404e
commit 4d06ad3e8b
1 changed files with 12 additions and 7 deletions

View File

@ -22,6 +22,11 @@ var (
ErrJsonUnmarshal = NewError(114, "Json Unmarshal Fail")
ErrJsonMarshal = NewError(115, "Json Marshal Fail")
ErrInternal = NewError(116, "Internal Server Error")
ErrPassword = NewError(117, "Password Incorrect")
ErrAccountNotFound = NewError(118, "Account Not Found")
ErrAccountDisabled = NewError(119, "Account Disabled")
ErrDisabled = NewError(120, "Status Disabled")
ErrRecordNotFound = NewError(121, "Record Not Found")
)
// jwt error code ,start:130