NIMRemoteErrorCode Constants Reference

Declared in NIMGlobalDefs.h

NIMRemoteErrorCode

Server error codes (IM and common) Doamin NIMRemoteErrorDomain

For more information about error codes, see Server error codes_status_code#Server error codes) Custom error codes by third-party callbacks. Value range: 20000-20099

Definition

typedef NS_ENUM(NSInteger, NIMRemoteErrorCode ) {
   NIMRemoteErrorCodeInvalidVersion = 201,
   NIMRemoteErrorCodeInvalidPass = 302,
   NIMRemoteErrorCodeInvalidCRC = 402,
   NIMRemoteErrorCodeForbidden = 403,
   NIMRemoteErrorCodeNotExist = 404,
   NIMRemoteErrorCodeReadOnly = 406,
   NIMRemoteErrorCodeTimeoutError = 408,
   NIMRemoteErrorCodeParameterError = 414,
   NIMRemoteErrorCodeConnectionError = 415,
   NIMRemoteErrorCodeFrequently = 416,
   NIMRemoteErrorCodeExist = 417,
   NIMRemoteErrorCodeBeyondLimit = 419,
   NIMRemoteErrorAccountBlock = 422,
   NIMRemoteErrorCodeUnknownError = 500,
   NIMRemoteErrorCodeServerDataError = 501,
   NIMRemoteErrorCodeNotEnough = 507,
   NIMRemoteErrorCodeDomainExpireOld = 508,
   NIMRemoteErrorCodeInvalidProtocol = 509,
   NIMRemoteErrorCodeUserNotExist = 510,
   NIMRemoteErrorCodeServiceUnavailable = 514,
   NIMRemoteErrorCodeTeamMemberLimit = 801,
   NIMRemoteErrorCodeTeamAccessError = 802,
   NIMRemoteErrorCodeTeamNotExists = 803,
   NIMRemoteErrorCodeNotInTeam = 804,
   NIMRemoteErrorCodeTeamInvaildType = 805,
   NIMRemoteErrorCodeTeamCountLimit = 806,
   NIMRemoteErrorCodeTeamAlreadyIn = 809,
   NIMRemoteErrorCodeTeamNotMember = 810,
   NIMRemoteErrorCodeTeamBlackList = 812,
   NIMRemoteErrorCodeTeamsPartialSuccess = 816,
   NIMRemoteErrorCodeEUnpacket = 998,
   NIMRemoteErrorCodeEPacket = 999,
   NIMRemoteErrorCodeInBlackList = 7101,
   NIMRemoteErrorCodeInvalidChatroom = 13002,
   NIMRemoteErrorCodeInChatroomBlackList = 13003,
   NIMRemoteErrorCodeInChatroomMuteList = 13004,
   NIMRemoteErrorCodeInChatroomAllMute = 13006,
   NIMRemoteErrorCodeSignalResPeerNIMOffline = 10201,
   NIMRemoteErrorCodeSignalResPeerPushOffline = 10202,
   NIMRemoteErrorCodeSignalResRoomNotExists = 10404,
   NIMRemoteErrorCodeSignalResRoomHasExists = 10405,
   NIMRemoteErrorCodeSignalResRoomMemberNotExists = 10406,
   NIMRemoteErrorCodeSignalResRoomMemberHasExists = 10407,
   NIMRemoteErrorCodeSignalResInviteNotExists = 10408,
   NIMRemoteErrorCodeSignalResInviteHasReject = 10409,
   NIMRemoteErrorCodeSignalResInviteHasAccept = 10410,
   NIMRemoteErrorCodeSignalResUidConflict = 10417,
   NIMRemoteErrorCodeSignalResRoomMemberExceed = 10419,
};

Constants

NIMRemoteErrorCodeInvalidVersion

Invalid client version

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInvalidPass

Incorrect password

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInvalidCRC

Verification failed using CheckSum

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeForbidden

Invalid operation or no permissions

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeNotExist

The requested target (user or object) does not exist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeReadOnly

Read-only object

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTimeoutError

Request timeout

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeParameterError

Invalid parameter

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeConnectionError

Connection error

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeFrequently

Operation too frequent

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeExist

The object already exists

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeBeyondLimit

Quantity exceeds the upper limit

Declared In NIMGlobalDefs.h.

NIMRemoteErrorAccountBlock

The account is banned

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeUnknownError

Unknown error

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeServerDataError

Server data error

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeNotEnough

Insufficient

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeDomainExpireOld

Domain expires

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInvalidProtocol

Invalid protocol

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeUserNotExist

User does not exist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeServiceUnavailable

Service is unavailable

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamMemberLimit

The maximum number of members in a group exceeds the upper limit

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamAccessError

No group operation permissions

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamNotExists

Group does not exist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeNotInTeam

User is not in the group

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamInvaildType

Group type error

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamCountLimit

The number of groups exceeds the upper limit

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamAlreadyIn

The user is already in the group

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamNotMember

The user is not a member

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamBlackList

The user is in the group blacklist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeTeamsPartialSuccess

Retrieved part of the group profile

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeEUnpacket

Parsing data packet error

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeEPacket

Packaging error

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInBlackList

The peer is in the blacklist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInvalidChatroom

Invalid chat room state

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInChatroomBlackList

The account is in the blacklist and is not allowed to join the chat room

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInChatroomMuteList

The account is included in the muted list and not allowed to speak

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeInChatroomAllMute

The chat room is in the all-muted state. Only administrators can speak

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResPeerNIMOffline

Common RTC protocol: the peer is offline

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResPeerPushOffline

Common RTC protocol: the peer is offline and cannot receive push notifications

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResRoomNotExists

Common RTC protocol: the room does not exist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResRoomHasExists

Common RTC protocol: the room already exists

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResRoomMemberNotExists

Common RTC protocol: the memeber does not exist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResRoomMemberHasExists

Common RTC protocol: the member already exist

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResInviteNotExists

Common RTC protocol: the invite request does not exist or expires

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResInviteHasReject

Common RTC protocol: the invite request is rejected

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResInviteHasAccept

Common RTC protocol: the invite request is already accepted

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResUidConflict

Common RTC protocol: uid conflict

Declared In NIMGlobalDefs.h.

NIMRemoteErrorCodeSignalResRoomMemberExceed

Common RTC protocol: the number of members exceeds the upper limit

Declared In NIMGlobalDefs.h.

Declared In

NIMGlobalDefs.h