package
0.0.2
Repository: https://github.com/xc-zero/common.git
Documentation: pkg.go.dev

# Constants

ErrCodeAccountExistence 账号存在.
ErrCodeAccountFormatError 账号格式错误.
ErrCodeAccountInputNULL 账号输入为空.
账号在其他地方登录.
ErrCodeAccountNotExistence 账号不存在.
前端请求参数错误.
ErrCodeDataBaseError 数据库错误.
const 命名格式 ErrCodeXXXError.
Excel 格式与模板不匹配.
Excel 匹配条件不允许为空.
Excel 记录数超过允许最大记录数.
访问次数达到上限.
ErrCodeIllegalOperation 非法操作 => 无效令牌.
一切系统内部的错误 比如 sql 错误,Marshal 错误 等.
账号未登录.
const 命名格式 ErrCodeXXXError.
资源受限.
资源未找到.
ErrCodeSystemError 系统错误.
ErrCodeTokenGeneratorError token 生成器错误.
用户未授权.
ErrorCodeAccountHasActivated 账号已激活.
ErrorCodeAccountLocked 账号被锁定.
ErrorCodeAccountNotActivated 账号未激活.
ErrorCodeEmailExistence 邮箱已被使用.
ErrorCodeEmailFormatError 邮箱格式有误.
ErrorCodeNotReview 信息审核中.
ErrorCodeReservedEmailNotMatch 预留邮箱不匹配.
ErrorCodeReservedPhoneNotMatch 预留手机不匹配.
ErrorCodeResourceAccessLimit 权限不足.
ErrorCodeResourceCreateTemplatesLimit 创建搜索模板已达上限.
ErrorCodeResourceDeleteUserLimit 删除用户权限不足.
ErrorCodeResourceFilterLimit 条件筛选权限不足.
ErrorCodeResourceFollowEntitiesCountLimit 我的关注已达上限.
ErrorCodeResourceInviteUserLimit 邀请用户权限不足.
ErrorCodeResourceRecommendLimit 查看智能推荐权限不足.
ErrorCodeResourceTableRowLimit 查看更多分页数据权限不足.
ErrorCodeReviewPassed 信息已审核.
ErrorCodeSendingVerificationCodeFailed 验证码发送失败.
ErrorCodeSendingVerificationCodeFrequencyLimit 手机号接收超过频率限制.
ErrorCodeTheNumberOfRequestsOutOfCount 今日单个资源访问次数已达上限.
ErrorCodeTheNumberOfRequestsOutOfTotalCount 今日资源访问总次数已达上限.
ErrorCodeVerificationCodeExpired 验证码过期.
ErrorCodeWrongAccountOrInvitationCode 账号或邀请码错误.
ErrorCodeWrongAccountOrPassword 账号或密码错误.
ErrorCodeWrongNoPassword 密码为空.
ErrorCodeWrongVerificationCode 验证码错误.

# Structs

DisplayError ...
Error DisplayMessage might be error_code.RomeError or error_code.VisaError.
RomeError ...
VisaError ...

# Type aliases

DisplayErrorCode ...
RomeErrorCode ...
VisaErrorCode ...