package com.liquidnet.common.third.antchain.exception;

import lombok.Data;

/**
 * @author AnJiabin <anjiabin@zhengzai.tv>
 * @version V1.0
 * @Description: TODO
 * @class: AntchainException
 * @Package com.liquidnet.common.third.antchain.exception
 * @Copyright: LightNet @ Copyright (c) 2022
 * @date 2022/3/22 10:42
 */
@Data
public class AntchainException extends RuntimeException{
       private static final long serialVersionUID = -3916918823313768482L;
       private String code;
       private String msg;

       public AntchainException(String code, String msg) {
             super(msg);
             this.code = code;
             this.msg = msg;
       }

       public AntchainException(String code, String msg, Throwable t) {
             super(msg, t);
             this.code = code;
             this.msg = msg;
       }
}

