|
1234567891011121314 |
- package response
-
- //repo response
- var RESOURCE_QUEUE_NOT_AVAILABLE = &BizError{Code: 1001, Err: "resource queue not available"}
- var SPECIFICATION_NOT_EXIST = &BizError{Code: 1002, Err: "specification not exist"}
- var SPECIFICATION_NOT_AVAILABLE = &BizError{Code: 1003, Err: "specification not available"}
-
- var CATEGORY_STILL_HAS_BADGES = &BizError{Code: 1004, Err: "Please delete badges in the category first"}
- var BADGES_STILL_HAS_USERS = &BizError{Code: 1005, Err: "Please delete users of badge first"}
-
- //common response
- var SYSTEM_ERROR = &BizError{Code: 9009, Err: "System error.Please try again later"}
- var INSUFFICIENT_PERMISSION = &BizError{Code: 9003, Err: "insufficient permissions"}
- var PARAM_ERROR = &BizError{Code: 9001, Err: "param error permissions"}
|