Versions in this module Expand all Collapse all v1 v1.0.2 Feb 12, 2022 Changes in this version + const RetCodeSuccess + var ERROR_CONFIG_PARSE = AppError + var ERROR_DATA_NOT_EXIST = AppError + var ERROR_LIMINT = AppError + var ERROR_SERVER_ERROR = AppError + var ID_NOT_EMPTY = AppError + var INVALID_PARAMS = AppError + var SUCCESS = AppError + func GetSystemPanic(err interface{}) string + type AppError struct + ErrorCode int + ErrorInfo string + func CustomError(appError AppError, errInfo string) AppError + func NewError(errCode int, errInfo string) AppError + func NewErrorByError(appError AppError) *AppError + func (a AppError) Error() string + func (a AppError) ErrorCodeStr() string