<commit_before>package com.guhanjie.exception;

import java.util.HashMap;
import java.util.Map;

/**
 * 添加
 * @author a
 *
 */
public enum WebExceptionEnum {
		// 0-99 通用 
		UNDEFINED_ERROR(10000, "undefined.error","未知异常"),
		SYSTEM_ERROR(10001, "system.error", "系统异常"),
		ACCESS_FORBIDDEN(10002, "access.forbidden","没有权限"),
		UNIMPLEMENT(10003, "unimplement", "功能未实现"),
        SYSTEM_NO_SUPPORT(10004, "system.not.support","系统不支持"),
        VALIDATE_ERROR(10005, "validate.error","数据校验不正确"),
        PARAMETER_ABSENT(10006, "parameter.absent","缺少必须的参数"),
		SIGNATURE_INVALID(10007, "invalid signature", "无效的签名"),
		DATA_NOT_FOUND(10008, "data.not.found","数据不存在"),
		DATA_HAS_EXIST(10009, "data.has.exist","数据已存在"),
		DATA_DUPLICATION(10010, "data.duplication","数据重复"),
		DATA_NOT_WELL(10011, "data.not.well","数据不完整"),
		DATA_HAS_USED(10012, "data.has.used","数据已被使用"),
		RPC_ERROR(10013, "rpc.error","远程调用异常"),
		
		// 1XX 用户操作相关
		USER_LOCKED(10100, "user.locked","用户被锁定"),
		FRENQUENCY_TO_FAST(10101,"frequency.too.fast","操作太频繁"), 
		
		// 2XX  商品相关<commit_msg>add some WebExceptionEnum<commit_after>package com.guhanjie.exception;

import java.util.HashMap;
import java.util.Map;

/**
 * 添加
 * @author a
 *
 */
public enum WebExceptionEnum {
		// 0-99 通用 
		UNDEFINED_ERROR(10000, "undefined.error","未知异常"),
		SYSTEM_ERROR(10001, "system.error", "系统异常"),
		ACCESS_FORBIDDEN(10002, "access.forbidden","没有权限"),
		UNIMPLEMENT(10003, "unimplement", "功能未实现"),
        SYSTEM_NO_SUPPORT(10004, "system.not.support","系统不支持"),
        VALIDATE_ERROR(10005, "validate.error","数据校验不正确"),
        PARAMETER_ABSENT(10006, "parameter.absent","缺少必须的参数"),
		SIGNATURE_INVALID(10007, "signature.invalid", "无效的签名"),
		DATA_NOT_FOUND(10008, "data.not.found","数据不存在"),
		DATA_HAS_EXIST(10009, "data.has.exist","数据已存在"),
		DATA_DUPLICATION(10010, "data.duplication","数据重复"),
		DATA_NOT_WELL(10011, "data.not.well","数据不完整"),
		DATA_HAS_USED(10012, "data.has.used","数据已被使用"),
		RPC_ERROR(10013, "rpc.error","远程调用异常"),
		
		// 1XX 用户操作相关
		USER_LOCKED(10100, "user.locked","用户被锁定"),
		FRENQUENCY_TO_FAST(10101,"frequency.too.fast","操作太频繁"), 
		USER_NAME_NOT_EXIST(10102, "user.name.not.exist", "用户名不能为空"),
		USER_PASSWORD_NOT_EXIST(10103, "user.password.not.exist", "用户密码不能为空"),
		USER_EMAIL_NOT_EXIST(10104, "user.email.not.exist", "用户邮箱不能为空"),
		
		// 2XX  商品相关
{'fraction_non_alphanumeric': 0.1804607508532423, 'fraction_numerical': 0.07892491467576791, 'mean_word_length': 5.49584487534626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4439090', 'n_tokens_mistral': 1190, 'n_tokens_neox': 1081, 'n_words': 115}