package com.bytedance.sdk.open.aweme.common.model;

/**
 * 模拟抖音SDK的响应基类
 */
public class BaseResp {
    private int errorCode;
    private String errorMsg;

    public static final int SUCCESS = 0;
    public static final int ERROR = -1;
    public static final int CANCEL = -2;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
