All Downloads are FREE. Search and download functionalities are using the official Maven repository.

me.chanjar.weixin.channel.common.ChannelWxError Maven / Gradle / Ivy

There is a newer version: 4.7.1.B
Show newest version
package me.chanjar.weixin.channel.common;

import me.chanjar.weixin.channel.enums.WxChannelErrorMsgEnum;
import me.chanjar.weixin.common.error.WxError;

/**
 * 微信视频号错误码
 *
 * @author Zeyes
 */
public class ChannelWxError extends WxError {

  private static final long serialVersionUID = -2638512715814977441L;

  public ChannelWxError() {
  }

  public ChannelWxError(int errorCode, String errorMsgEn) {
    super(errorCode, errorMsgEn);
    if (WxChannelErrorMsgEnum.findMsgByCode(errorCode) != null) {
      this.setErrorMsg(WxChannelErrorMsgEnum.findMsgByCode(errorCode));
    }
    this.setErrorMsgEn(errorMsgEn);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy