package cn.bootx.platform.daxpay.service.common.exception;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author xxm
 * @since 2021/5/24
 */
@Data
@Accessors(chain = true)
@Schema(title = "异常信息")
public class ExceptionInfo {

    /** 错误码 */
    private String errorCode;

    /** 错误信息 */
    private String errorMsg;

    public ExceptionInfo(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

}
