Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonError ¶
type CommonError int
const ( SYSTEM_ERROR CommonError = 1000 SYSTEM_BUSY CommonError = 1001 FREQUENT_OPERATIONS CommonError = 1002 TOO_MANY_MISTAKES CommonError = 1003 VER_CODE_ERROR CommonError = 1004 VER_CODE_NOT_EXIST CommonError = 1005 VER_CODE_EXPIRED CommonError = 1006 SMART_VERIFICATION_ERROR CommonError = 1007 PARAMETER_MISSING CommonError = 1008 VER_CODE_IS_USED CommonError = 1009 REQUEST_ARGUMENT_NOT_VALID CommonError = 1010 REQUEST_ARGUMENT_PARSER_ERROR CommonError = 1011 REQUEST_ARGUMENT_MISSING CommonError = 1012 DUPLICATE_KEY CommonError = -1013 UPLOAD_FILE_SIZE_LIMIT CommonError = 1014 UPLOAD_FILE_ERROR CommonError = 1015 CHECK_DATA_SIGN_ERROR CommonError = 1016 DECRYPT_DATA_ERROR CommonError = 1017 DUBBO_SERVICE_UNAVAILABLE CommonError = 1018 URL_NOT_FOUND CommonError = 1019 NOT_LOGGED_IN CommonError = 1020 SYS_ERR_ENUM_ERROR CommonError = -1021 ACCESS_DENIED CommonError = 1022 CALL_CAPTCHA_ERROR CommonError = 1023 HTTP_CALL_ERROR CommonError = 1024 HTTP_CALL_TIMEOUT CommonError = 1025 RPC_CALL_ERROR CommonError = 1026 RPC_EXECUTE_ERROR CommonError = 1027 MYSQL_ERR_1008 CommonError = 1030 MYSQL_ERR_1012 CommonError = 1031 MYSQL_ERR_1020 CommonError = 1032 MYSQL_ERR_1021 CommonError = 1033 MYSQL_ERR_1022 CommonError = 1034 MYSQL_ERR_1037 CommonError = 1035 MYSQL_ERR_1044 CommonError = 1036 MYSQL_ERR_1045 CommonError = 1037 MYSQL_ERR_1048 CommonError = 1038 MYSQL_ERR_1049 CommonError = 1039 MYSQL_ERR_1054 CommonError = 1040 MYSQL_ERR_1062 CommonError = 1041 MYSQL_ERR_1065 CommonError = 1042 MYSQL_ERR_1114 CommonError = 1043 MYSQL_ERR_1130 CommonError = 1044 MYSQL_ERR_1133 CommonError = 1045 MYSQL_ERR_1141 CommonError = 1046 MYSQL_ERR_1142 CommonError = 1047 MYSQL_ERR_1143 CommonError = 1048 MYSQL_ERR_1149 CommonError = 1049 MYSQL_ERR_1169 CommonError = 1051 MYSQL_ERR_1216 CommonError = 1052 INSUFFICIENT_SCOPE CommonError = 1060 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
Click to show internal directories.
Click to hide internal directories.