mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-29 09:38:19 +08:00
22 lines
395 B
Java
22 lines
395 B
Java
package chanjarster.weixin.exception;
|
|
|
|
import chanjarster.weixin.bean.result.WxError;
|
|
|
|
public class WxErrorException extends Exception {
|
|
|
|
private static final long serialVersionUID = -6357149550353160810L;
|
|
|
|
private WxError error;
|
|
|
|
public WxErrorException(WxError error) {
|
|
super(error.toString());
|
|
this.error = error;
|
|
}
|
|
|
|
public WxError getError() {
|
|
return error;
|
|
}
|
|
|
|
|
|
}
|