common_error

package
v0.4.37 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonError

type CommonError int
const (
	SystemError                CommonError = 1000
	SystemBusy                 CommonError = 1001
	FrequentOperations         CommonError = 1002
	TooManyMistakes            CommonError = 1003
	VerCodeError               CommonError = 1004
	VerCodeNotExist            CommonError = 1005
	VerCodeExpired             CommonError = 1006
	SmartVerificationError     CommonError = 1007
	ParameterMissing           CommonError = 1008
	VerCodeIsUsed              CommonError = 1009
	RequestArgumentNotValid    CommonError = 1010
	RequestArgumentParserError CommonError = 1011
	RequestArgumentMissing     CommonError = 1012
	DuplicateKey               CommonError = -1013
	UploadFileSizeLimit        CommonError = 1014
	UploadFileError            CommonError = 1015
	CheckDataSignError         CommonError = 1016
	DecryptDataError           CommonError = 1017
	DubboServiceUnavailable    CommonError = 1018
	UrlNotFound                CommonError = 1019
	NotLoggedIn                CommonError = 1020
	SysErrEnumError            CommonError = -1021
	AccessDenied               CommonError = 1022
	CallCaptchaError           CommonError = 1023
	HttpCallError              CommonError = 1024
	HttpCallTimeout            CommonError = 1025
	RpcCallError               CommonError = 1026
	RpcExecuteError            CommonError = 1027
	MysqlErr1008               CommonError = 1030
	MysqlErr1012               CommonError = 1031
	MysqlErr1020               CommonError = 1032
	MysqlErr1021               CommonError = 1033
	MysqlErr1022               CommonError = 1034
	MysqlErr1037               CommonError = 1035
	MysqlErr1044               CommonError = 1036
	MysqlErr1045               CommonError = 1037
	MysqlErr1048               CommonError = 1038
	MysqlErr1049               CommonError = 1039
	MysqlErr1054               CommonError = 1040
	MysqlErr1062               CommonError = 1041
	MysqlErr1065               CommonError = 1042
	MysqlErr1114               CommonError = 1043
	MysqlErr1130               CommonError = 1044
	MysqlErr1133               CommonError = 1045
	MysqlErr1141               CommonError = 1046
	MysqlErr1142               CommonError = 1047
	MysqlErr1143               CommonError = 1048
	MysqlErr1149               CommonError = 1049
	MysqlErr1146               CommonError = 1146
	MysqlErr1169               CommonError = 1051
	MysqlErr1216               CommonError = 1052
	InsufficientScope          CommonError = 1060
	DicItemNotExist            CommonError = 1100
	RowsAffectedZero           CommonError = 1101
	DataNotExist               CommonError = 1102
	Default                    CommonError = -1
)

func (CommonError) Code

func (e CommonError) Code() int32

func (CommonError) Des

func (e CommonError) Des() string

func (CommonError) MarshalJSON

func (e CommonError) MarshalJSON() ([]byte, error)

func (*CommonError) UnmarshalJSON

func (e *CommonError) UnmarshalJSON(value []byte) error

Jump to

Keyboard shortcuts

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