NIMLocalErrorCode Constants Reference
Declared in | NIMGlobalDefs.h |
---|
NIMLocalErrorCode
Local error codes (IM and common) 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,
};
Constants
NIMLocalErrorCodeInvalidParam
-
Invalid parameter
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeInvalidMedia
-
Invalid media file
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeInvalidPicture
-
Invalid image
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeInvalidUrl
-
Invalid URL
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeIOError
-
Faile to read or write data
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeInvalidToken
-
Invalid token
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeHttpReqeustFailed
-
Failed to send an HTTP request
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeAudioRecordErrorNoPermission
-
No recording permissions
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeAudioRecordErrorInitFailed
-
Failed to initialize audio recording
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeAudioRecordErrorRecordFailed
-
Failed to start recording
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeAudioPlayErrorInitFailed
-
Failed to initialize the player
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeSQLFailed
-
Failed to execute the SQL statement
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeUserInfoNeeded
-
User info missing (not login or no user profile)
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeAppKeyNeed
-
AppKey missing. Login without registering AppKey
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeAutoLoginRetryLimit
-
The number of automatic logins exceeds the upper limit. In most cases, This is caused by network issues. For example, the current network can be connected, but cannot send and receive packets.
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeSameOperationInProgress
-
Repeated operations.
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeRequestChatroomAddressesFailed
-
Failed to get chat room server address in independent mode
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeTeamReceiptDisabled
-
Group read receipt function is not enabled. Enable the feature using NIMSDKConfig
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeManualCancelTask
-
Manually cancel the task
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeResourcesOverdue
-
Resources overdue
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeSceneUnregistered
-
Scene unregistered
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeDatabaseError
-
Database read and write error
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeJoinSameRTSConference
-
Repeat joining a whiteboard conference
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeNotSupported
-
Feature not supported
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeUnknownError
-
Unknown error
Declared In
NIMGlobalDefs.h
. NIMLocalErrorCodeSaveFileError
-
Failed to save a file
Declared In
NIMGlobalDefs.h
.
Declared In
NIMGlobalDefs.h