Versions in this module Expand all Collapse all v0 v0.0.2 Aug 10, 2023 v0.0.1 Jul 13, 2023 Changes in this version + const DB_ERROR + const DB_UPDATE_AFFECTED_ZERO_ERROR + const OK + const REUQEST_PARAM_ERROR + const SERVER_COMMON_ERROR + const TOKEN_EXPIRE_ERROR + const TOKEN_GENERATE_ERROR + func IsCodeErr(errcode uint32) bool + func MapErrMsg(errcode uint32) string + type CodeError struct + func NewErrCode(errCode uint32) *CodeError + func NewErrCodeMsg(errCode uint32, errMsg string) *CodeError + func NewErrMsg(errMsg string) *CodeError + func (e *CodeError) Error() string + func (e *CodeError) GetErrCode() uint32 + func (e *CodeError) GetErrMsg() string