package com.walker.wxtools; import com.walker.infrastructure.ApplicationException; /** * 微信调用异常。 * @author 时克英 * @date 2023-04-19 */ public class WxRemoteException extends ApplicationException { /** * 返回微信返回的错误信息。 * @return */ public String getError() { return error; } public WxRemoteException(String error, String msg, Throwable caution){ super(msg, caution); this.error = error; } private String error; }