You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

response_list.go 765 B

2 years ago
1234567891011121314
  1. package response
  2. //repo response
  3. var RESOURCE_QUEUE_NOT_AVAILABLE = &BizError{Code: 1001, Err: "resource queue not available"}
  4. var SPECIFICATION_NOT_EXIST = &BizError{Code: 1002, Err: "specification not exist"}
  5. var SPECIFICATION_NOT_AVAILABLE = &BizError{Code: 1003, Err: "specification not available"}
  6. var CATEGORY_STILL_HAS_BADGES = &BizError{Code: 1004, Err: "Please delete badges in the category first"}
  7. var BADGES_STILL_HAS_USERS = &BizError{Code: 1005, Err: "Please delete users of badge first"}
  8. //common response
  9. var SYSTEM_ERROR = &BizError{Code: 9009, Err: "System error.Please try again later"}
  10. var INSUFFICIENT_PERMISSION = &BizError{Code: 9003, Err: "insufficient permissions"}
  11. var PARAM_ERROR = &BizError{Code: 9001, Err: "param error permissions"}