public class IoTCredentialManageError
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.Object |
detail
原始网络请求返回的异常(或者数据)
|
int |
errorCode
异常码
|
static int |
RESULT_CODE_ACCOUNT_TYPE_INVALID
账号类型错误, accountType 需要和一站式开发平台配置保持一致
|
static int |
RESULT_CODE_AUTHCODE_CHECK_FAILED
账号 authCode 校验失败
|
static int |
RESULT_CODE_AUTHCODE_INVALID
账号 authCode 无效
|
static int |
RESULT_CODE_COMPANYID_PARAMS_CHECK_FAILED
companyId参数错误
|
static int |
RESULT_CODE_NOT_LOGIN
账号未登录,需要登录
|
static int |
RESULT_CODE_OHTER
其他错误,如,网络错误或服务器返回的错误,会把原始错误信息通过 userInfo.detail 透传
|
static int |
RESULT_CODE_REFRESHTOKEN_INVALID
服务器返回 refreshToken 过期或无效,需要重新登录
|
static int |
RESULT_CODE_WRONG_RESPONSE_FORMAT
服务器响应的报文格式异常
|
Constructor and Description |
---|
IoTCredentialManageError(int errorCode,
java.lang.Object detail) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public static final int RESULT_CODE_NOT_LOGIN
public static final int RESULT_CODE_ACCOUNT_TYPE_INVALID
public static final int RESULT_CODE_AUTHCODE_INVALID
public static final int RESULT_CODE_REFRESHTOKEN_INVALID
public static final int RESULT_CODE_WRONG_RESPONSE_FORMAT
public static final int RESULT_CODE_AUTHCODE_CHECK_FAILED
public static final int RESULT_CODE_COMPANYID_PARAMS_CHECK_FAILED
public static final int RESULT_CODE_OHTER
public int errorCode
public java.lang.Object detail