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

io.github.yogboot.common.response.CommonExceptionEnum Maven / Gradle / Ivy

There is a newer version: 1.0.3
Show newest version
package io.github.yogboot.common.response;

import io.github.yogboot.api.exception.ExceptionEnum;
import lombok.Getter;

public enum CommonExceptionEnum implements ExceptionEnum {

    KEY_IS_NULL("50005", "key is null"),

    KEY_IS_ERROR("50006", "key is error"),;

    @Getter
    private final String code;

    @Getter
    private final String msg;

    CommonExceptionEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy