Vestmore_GO/utils/basic/error_code.go
2024-04-09 18:17:08 +08:00

15 lines
325 B
Go

package basic
type ErrorCode struct {
Code int `json:"code"`
Message string `json:"message"`
}
var (
ErrEncGcm = &ErrorCode{Code: 10001, Message: "gmc加密错误"}
ErrParamParse = &ErrorCode{Code: 10100, Message: "参数解析错误"}
ErrEmailFormat = &ErrorCode{Code: 10101, Message: "email 格式错误"}
)