package com.yn.bftl.thirdparty.common.exception;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author huabiao
 * @create 2021/4/23  10:02
 **/
@Data
public class ExceptionDTO implements Serializable {

    @ApiModelProperty(value = "错误信息", required = true)
    String error;

    @ApiModelProperty(value = "消息", required = true)
    String message;

    @ApiModelProperty(value = "请求地址", required = true)
    String path;

    @ApiModelProperty(value = "状态码", required = true)
    Integer status;

    @ApiModelProperty(value = "编码", required = true)
    String code;

}
