异常
12114用法规范
-- service 内引入const { BizError, errorInfoEnum } = require('../constant/error');-- 使用throw new BizError(errorInfoEnum.disable_edit_appaId)
异常总览
| 错误码 | 错误原因 |
|---|---|
| no_data | 数据不存在 |
| student_has_enrollment | 学生已报名 |
| student_has_enrollment | 学生已报名 |
| student_has_enrolledBy | 学生都已分配-经办人员 |
| school_staff_empty | 请先配置-学校负责人 |
| school_staff_not_exist | 学校负责人不存在 |
| no_recommend_user | 没有找到匹配推荐人 |
| no_waitting_follow_up | 没有找到待跟进的学生 |
| no_follow_user | 没有找到待分配的经办人 |
| student_already_exit | 该生信息已存在 |