diff --git a/errno.go b/errno.go index 825ca1f..7a3fd52 100644 --- a/errno.go +++ b/errno.go @@ -91,12 +91,12 @@ var ( ErrApiResponsed = &Errno{Code: 20502, Msg: "Api Responsed Error"} // 验证码错误,206 - ErrCaptcha = &Errno{Code: 20601, Msg: "验证码生成器不存在"} - ErrCaptchaGenerate = &Errno{Code: 20602, Msg: "验证码生成错误"} - ErrCaptchaInvalid = &Errno{Code: 20603, Msg: "验证码无效"} - ErrCaptchaExpired = &Errno{Code: 20604, Msg: "验证码已过期"} - ErrCaptchaSend = &Errno{Code: 20605, Msg: "验证码发送错误"} - ErrCaptchaSendInterval = &Errno{Code: 20606, Msg: "验证码发送失败, 请稍后再试"} + ErrCaptcha = &Errno{Code: 20601, Msg: "验证码生成器不存在"} + ErrCaptchaGenerate = &Errno{Code: 20602, Msg: "验证码生成错误"} + ErrCaptchaInvalid = &Errno{Code: 20603, Msg: "验证码无效"} + ErrCaptchaExpired = &Errno{Code: 20604, Msg: "验证码已过期"} + ErrCaptchaSend = &Errno{Code: 20605, Msg: "验证码发送错误"} + ErrCaptchaInterval = &Errno{Code: 20606, Msg: "验证码获取失败, 请稍后再试"} ) // 使用 错误码 和 error 创建新的 错误