errorCode

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2022 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrDatabase               int32 = 10001
	ErrSystem                 int32 = 10002
	ErrRequestMode            int32 = 10003
	ErrParame                 int32 = 10004
	ErrLackParame             int32 = 10005
	ErrFormatError            int32 = 10006
	ErrNotRealName            int32 = 10007
	ErrVerifyCode             int32 = 10014
	ErrReSendMobileCode       int32 = 10015
	ErrAlreadyRegister        int32 = 10016
	ErrNotRegister            int32 = 10017
	ErrDynamicMobileCode      int32 = 10018
	ErrVerifyMobileCodeExpire int32 = 10019
	ErrPassword               int32 = 10020
	ErrGetToken               int32 = 10021
	ErrMissToken              int32 = 10022
	ErrExpireToken            int32 = 10023
	ErrInvalidToken           int32 = 10024
	ErrUserInfo               int32 = 10025
	ErrFilePathConf           int32 = 10026
	ErrUploadFile             int32 = 10027
	ErrDataNotFound           int32 = 10028
	ErrDataAlreadyExist       int32 = 10029
	ErrBusinessRoleHasUser    int32 = 10030
	ErrNotAdminBusinessRole   int32 = 10031
	ErrFileToOss              int32 = 10032
	ErrGetfileFromOss         int32 = 10033
	ErrReSendEmailCode        int32 = 10034
	ErrDynamicEmailCode       int32 = 10035
	ErrVerifyEmailCodeExpire  int32 = 10036
	ErrAmountErr              int32 = 10037
	ErrShortMessageConf       int32 = 10039
	ErrShortMsgSend           int32 = 10040
	ErrMailCodeSend           int32 = 10041
	ErrWechatMessageConf      int32 = 10042
	ErrWechatMessage          int32 = 10043
	ErrWechatToken            int32 = 10044
	ErrWechatCheckToken       int32 = 10045
	ErrWechatUser             int32 = 10046
	ErrwechatAlreadyBound     int32 = 10047
	ErrStatus                 int32 = 10048
	ErrConfirmPassword        int32 = 10049
	ErrPin                    int32 = 10050
	ErrDataInfo               int32 = 10053
	ErrNoData                 int32 = 10055
	JsonUnmarshal             int32 = 10056
	RegisterFail              int32 = 10062
	AccountFrozen             int32 = 10063
	InvalidToken              int32 = 10064
	ExitFailed                int32 = 10067
	ProcessingFailed          int32 = 10068
	ErrNotBindEmail           int32 = 10069
	DataIsEmpty               int32 = 10079
	ErrReqData                int32 = 10083
	ErrOptions                int32 = 10086
	Success                   int32 = 200
)

Variables

View Source
var (
	EMPTY = Empty{}
)

Functions

func GetCustomerErrChineseMsg

func GetCustomerErrChineseMsg(errCode int32) string

封装中文信息

func GetCustomerErrEnglishMsg

func GetCustomerErrEnglishMsg(errCode int32) string

封装英文信息

func GetLogErrMsg

func GetLogErrMsg(errCode int32) string

封装日志信息

Types

type Empty

type Empty struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL