yanghb
2024-04-15 6bc25b33e90d45904d1843e927fa709dfeb51d7f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package cn.stylefeng.roses.kernel.system.api.exception.enums.theme;
 
import cn.stylefeng.roses.kernel.rule.constants.RuleConstants;
import cn.stylefeng.roses.kernel.rule.exception.AbstractExceptionEnum;
import cn.stylefeng.roses.kernel.system.api.constants.SystemConstants;
import lombok.Getter;
 
@Getter
public enum SysThemeTemplateRelExceptionEnum implements AbstractExceptionEnum {
 
    /**
     * 系统主题模板属性关系不存在
     */
    RELATION_NOT_EXIST(RuleConstants.USER_OPERATION_ERROR_TYPE_CODE + SystemConstants.SYSTEM_EXCEPTION_STEP_CODE + "131", "系统主题模板属性关系不存在");
 
    /**
     * 错误编码
     */
    private final String errorCode;
 
    /**
     * 提示用户信息
     */
    private final String userTip;
 
    SysThemeTemplateRelExceptionEnum(String errorCode, String userTip) {
        this.errorCode = errorCode;
        this.userTip = userTip;
    }
}