All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cloud.platform.common.enums.BaseErrorCodeEnum Maven / Gradle / Ivy

The newest version!
package com.cloud.platform.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @description: 系统异常枚举
 * @author: zhou shuai
 * @date: 2022/3/29 16:04
 * @version: v1
 */
@AllArgsConstructor
@Getter
public enum BaseErrorCodeEnum {

    SUCCESS("000000", "success"),
    SYSTEM_ERROR("100000", "system error"),
    PARAM_ERROR("100001", "param error"),
    JSON_PARSER_ERROR("100002", "json parse error"),
    CONVERSION_FAILED_ERROR("100003", "conversion failed exception"),
    ILLEGAL_ARGUMENT_ERROR("100004", "illegal argument exception"),
    TOKEN_VERIFICATION_ERROR("100005", "token  verification exception"),
    REQUEST_FAIL_BLOCKED_BY_SENTINEL("100006", "request fail blocked by sentinel");

    private String code;

    private String message;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy