NIMLocalErrorCode Constants Reference
| Declared in | NIMGlobalDefs.h |
|---|
NIMLocalErrorCode
本地错误码 (IM 和通用) Domain NIMLocalErrorDomain
Definition
typedef NS_ENUM(NSInteger, NIMLocalErrorCode ) {
NIMLocalErrorCodeInvalidParam = 1,
NIMLocalErrorCodeInvalidMedia = 2,
NIMLocalErrorCodeInvalidPicture = 3,
NIMLocalErrorCodeInvalidUrl = 4,
NIMLocalErrorCodeIOError = 5,
NIMLocalErrorCodeInvalidToken = 6,
NIMLocalErrorCodeHttpReqeustFailed = 7,
NIMLocalErrorCodeAudioRecordErrorNoPermission = 8,
NIMLocalErrorCodeAudioRecordErrorInitFailed = 9,
NIMLocalErrorCodeAudioRecordErrorRecordFailed = 10,
NIMLocalErrorCodeAudioPlayErrorInitFailed = 11,
NIMLocalErrorCodeSQLFailed = 12,
NIMLocalErrorCodeUserInfoNeeded = 13,
NIMLocalErrorCodeAppKeyNeed = 14,
NIMLocalErrorCodeAutoLoginRetryLimit = 15,
NIMLocalErrorCodeSameOperationInProgress = 16,
NIMLocalErrorCodeRequestChatroomAddressesFailed = 17,
NIMLocalErrorCodeTeamReceiptDisabled = 18,
NIMLocalErrorCodeManualCancelTask = 19,
NIMLocalErrorCodeResourcesOverdue = 20,
NIMLocalErrorCodeSceneUnregistered = 21,
NIMLocalErrorCodeDatabaseError = 22,
NIMLocalErrorCodeJoinSameRTSConference = 23,
NIMLocalErrorCodeNotSupported = 24,
NIMLocalErrorCodeUnknownError = 25,
NIMLocalErrorCodeSaveFileError = 26,
NIMLocalErrorCodeFrequentCallError = 27,
NIMLocalErrorCodeSettingConflictError = 28,
};
Constants
NIMLocalErrorCodeInvalidParam-
错误的参数
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeInvalidMedia-
多媒体文件异常
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeInvalidPicture-
图片异常
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeInvalidUrl-
url异常
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeIOError-
读取/写入文件失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeInvalidToken-
无效的token
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeHttpReqeustFailed-
Http请求失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeAudioRecordErrorNoPermission-
无录音权限
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeAudioRecordErrorInitFailed-
录音初始化失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeAudioRecordErrorRecordFailed-
录音失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeAudioPlayErrorInitFailed-
播放初始化失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeSQLFailed-
SQL语句执行失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeUserInfoNeeded-
用户信息缺失 (未登录 或 未提供用户资料)
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeAppKeyNeed-
AppKey 缺失,未注册 AppKey 就进行登录行为之类的接口
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeAutoLoginRetryLimit-
自动登录超过次数限制,一般情况下都是当前网络有问题引起,如当前网络可以连接,但无法自由收发包等
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeSameOperationInProgress-
相同的操作正在执行,请不要多次调用
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeRequestChatroomAddressesFailed-
独立模式下获取聊天室服务器地址失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeTeamReceiptDisabled-
群已读回执功能未开启,请使用 NIMSDKConfig 进行开启
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeManualCancelTask-
主动取消任务
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeResourcesOverdue-
资源过期
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeSceneUnregistered-
场景未注册
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeDatabaseError-
Database 读写异常
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeJoinSameRTSConference-
重复加入白板会议
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeNotSupported-
功能不支持
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeUnknownError-
未知问题
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeSaveFileError-
保存文件失败
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeFrequentCallError-
接口调用过于频繁
Declared In
NIMGlobalDefs.h. NIMLocalErrorCodeSettingConflictError-
和设置冲突
Declared In
NIMGlobalDefs.h.
Declared In
NIMGlobalDefs.h