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 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) Enum ¶ added in v0.4.38
func (e CommonError) Enum() string
func (CommonError) MarshalJSON ¶
func (e CommonError) MarshalJSON() ([]byte, error)
func (*CommonError) UnmarshalJSON ¶
func (e *CommonError) UnmarshalJSON(value []byte) error
func (CommonError) Val ¶ added in v0.4.38
func (e CommonError) Val() int
Click to show internal directories.
Click to hide internal directories.