code.go 276 B

1234567891011
  1. package xerr
  2. // 失败错误码
  3. const (
  4. BaseError = 10000 //基础错误
  5. InvalidParam = 10001 //参数错误
  6. DbError = 10002 //数据库异常
  7. RedisError = 10003 //redis异常
  8. ApiError = 10004 //第三方接口异常
  9. StatusError = 10005 //状态异常
  10. )