add: SecretIsEmpty Message

This commit is contained in:
EUForest
2025-10-13 19:15:38 +08:00
parent 9ea5c626e9
commit 39306f3043
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -47,6 +47,7 @@ const (
ErrorTokenExpire uint32 = 40004
InvalidAccess uint32 = 40005
InvalidCiphertext uint32 = 40006
SecretIsEmpty uint32 = 40007
)
//coupon error
+1
View File
@@ -14,6 +14,7 @@ func init() {
ErrorTokenEmpty: "User token is empty",
ErrorTokenInvalid: "User token is invalid",
ErrorTokenExpire: "User token is expired",
SecretIsEmpty: "Secret is empty",
InvalidAccess: "Invalid access",
InvalidCiphertext: "Invalid ciphertext",
// Database error