human: 如何处理七牛云的即时通讯QNIMErrorCode Constants Reference

gpt: [即时通讯](https://developer.qiniu.com/IM) > API 文档 > [iOS API
参考](https://developer.qiniu.com/IM/api/8104/im-ios-api-hierarchy) > [Constant
References](https://developer.qiniu.com/IM/api/8145/im-ios-constant-
references) > QNIMErrorCode Constants Reference

#  QNIMErrorCode Constants Reference

最近更新时间: 2021-06-27 18:32:32

# QNIMErrorCode Constants Reference

Declared in | QNIMError.h  
---|---  
  
### QNIMErrorCode

#### Definition

`typedef NS_ENUM(NSUInteger, QNIMErrorCode ) { [QNIMNoError]() = 0,
[QNIMGeneralError]() = 1, [QNIMInvalidParam]() = 2, [QNIMNotFound]() = 3,
[QNIMUserNotLogin]() = 4, [QNIMUserAlreadyLogin]() = 5, [QNIMUserAuthFailed]()
= 6, [QNIMUserPermissionDenied]() = 7, [QNIMUserNotExist]() = 8,
[QNIMUserAlreadyExist]() = 9, [QNIMUserFrozen]() = 10, [QNIMUserBanned]() =
11, [QNIMUserRemoved]() = 12, [QNIMUserTooManyDevice]() = 13,
[QNIMUserPasswordChanged]() = 14, [QNIMUserKickedBySameDevice]() = 15,
[QNIMUserKickedByOtherDevices]() = 16, [QNIMUserAbnormal]() = 17,
[QNIMUserCancel]() = 18, [QNIMInvalidVerificationCode]() = 19,
[QNIMInvalidRequestParameter]() = 20, [QNIMInvalidUserNameParameter]() = 21,
[QNIMMissingAccessToken]() = 22, [QNIMCurrentUserIsInRoster]() = 23,
[QNIMCurrentUserIsInBlocklist]() = 24, [QNIMAnswerFailed]() = 25,
[QNIMInvalidToken]() = 26, [QNIMRosterNotFriend]() = 27,
[QNIMRosterBlockListExist]() = 28, [QNIMRosterRejectApplication]() = 29,
[QNIMGroupServerDbError]() = 30, [QNIMGroupNotExist]() = 31,
[QNIMGroupNotMemberFound]() = 32, [QNIMGroupMsgNotifyTypeUnknown]() = 33,
[QNIMGroupOwnerCannotLeave]() = 34, [QNIMGroupTransferNotAllowed]() = 35,
[QNIMGroupRecoveryMode]() = 36, [QNIMGroupExceedLimitGlobal]() = 37,
[QNIMGroupExceedLimitUserCreate]() = 38, [QNIMGroupExceedLimitUserJoin]() =
39, [QNIMGroupCapacityExceedLimit]() = 40,
[QNIMGroupMemberPermissionRequired]() = 41,
[QNIMGroupAdminPermissionRequired]() = 42,
[QNIMGroupOwnerPermissionRequired]() = 43,
[QNIMGroupApplicationExpiredOrHandled]() = 44,
[QNIMGroupInvitationExpiredOrHandled]() = 45, [QNIMGroupKickTooManyTimes]() =
46, [QNIMGroupMemberExist]() = 47, [QNIMGroupBlockListExist]() = 48,
[QNIMGroupAnnouncementNotFound]() = 49, [QNIMGroupAnnouncementForbidden]() =
50, [QNIMGroupSharedFileNotFound]() = 51,
[QNIMGroupSharedFileOperateNotAllowed]() = 52, [QNIMGroupMemberBanned]() = 53,
[QNIMSignInCancelled]() = 54, [QNIMSignInTimeout]() = 55, [QNIMSignInFailed]()
= 56, [QNIMDbOperationFailed]() = 57, [QNIMMessageInvalid]() = 58,
[QNIMMessageOutRecallTime]() = 59, [QNIMMessageRecallDisabled]() = 60,
[QNIMMessageCensored]() = 61, [QNIMMessageInvalidType]() = 62,
[QNIMServerNotReachable]() = 63, [QNIMServerUnknownError]() = 64,
[QNIMServerInvalid]() = 65, [QNIMServerDecryptionFailed]() = 66,
[QNIMServerEncryptMethodUnsupported](), [QNIMServerBusy](),
[QNIMServerNeedRetry](), [QNIMServerTimeOut](), [QNIMServerConnectFailed](),
[QNIMServerDNSFailed](), [QNIMServerNeedReconnected](),
[QNIMServerFileUploadUnknownError](), [QNIMServerFileDownloadUnknownError](),
[QNIMServerInvalidLicense](), [QNIMServerLicenseLimit](),
[QNIMServerAppFrozen](), [QNIMServerTooManyRequest](), };`

#### Constants

`QNIMNoError`

Declared In `QNIMError.h`.

`QNIMGeneralError`

Declared In `QNIMError.h`.

`QNIMInvalidParam`

Declared In `QNIMError.h`.

`QNIMNotFound`

Declared In `QNIMError.h`.

`QNIMUserNotLogin`

Declared In `QNIMError.h`.

`QNIMUserAlreadyLogin`

Declared In `QNIMError.h`.

`QNIMUserAuthFailed`

Declared In `QNIMError.h`.

`QNIMUserPermissionDenied`

Declared In `QNIMError.h`.

`QNIMUserNotExist`

Declared In `QNIMError.h`.

`QNIMUserAlreadyExist`

Declared In `QNIMError.h`.

`QNIMUserFrozen`

Declared In `QNIMError.h`.

`QNIMUserBanned`

Declared In `QNIMError.h`.

`QNIMUserRemoved`

Declared In `QNIMError.h`.

`QNIMUserTooManyDevice`

Declared In `QNIMError.h`.

`QNIMUserPasswordChanged`

Declared In `QNIMError.h`.

`QNIMUserKickedBySameDevice`

Declared In `QNIMError.h`.

`QNIMUserKickedByOtherDevices`

Declared In `QNIMError.h`.

`QNIMUserAbnormal`

Declared In `QNIMError.h`.

`QNIMUserCancel`

Declared In `QNIMError.h`.

`QNIMInvalidVerificationCode`

Declared In `QNIMError.h`.

`QNIMInvalidRequestParameter`

Declared In `QNIMError.h`.

`QNIMInvalidUserNameParameter`

Declared In `QNIMError.h`.

`QNIMMissingAccessToken`

Declared In `QNIMError.h`.

`QNIMCurrentUserIsInRoster`

Declared In `QNIMError.h`.

`QNIMCurrentUserIsInBlocklist`

Declared In `QNIMError.h`.

`QNIMAnswerFailed`

Declared In `QNIMError.h`.

`QNIMInvalidToken`

Declared In `QNIMError.h`.

`QNIMRosterNotFriend`

Declared In `QNIMError.h`.

`QNIMRosterBlockListExist`

Declared In `QNIMError.h`.

`QNIMRosterRejectApplication`

Declared In `QNIMError.h`.

`QNIMGroupServerDbError`

Declared In `QNIMError.h`.

`QNIMGroupNotExist`

Declared In `QNIMError.h`.

`QNIMGroupNotMemberFound`

Declared In `QNIMError.h`.

`QNIMGroupMsgNotifyTypeUnknown`

Declared In `QNIMError.h`.

`QNIMGroupOwnerCannotLeave`

Declared In `QNIMError.h`.

`QNIMGroupTransferNotAllowed`

Declared In `QNIMError.h`.

`QNIMGroupRecoveryMode`

Declared In `QNIMError.h`.

`QNIMGroupExceedLimitGlobal`

Declared In `QNIMError.h`.

`QNIMGroupExceedLimitUserCreate`

Declared In `QNIMError.h`.

`QNIMGroupExceedLimitUserJoin`

Declared In `QNIMError.h`.

`QNIMGroupCapacityExceedLimit`

Declared In `QNIMError.h`.

`QNIMGroupMemberPermissionRequired`

Declared In `QNIMError.h`.

`QNIMGroupAdminPermissionRequired`

Declared In `QNIMError.h`.

`QNIMGroupOwnerPermissionRequired`

Declared In `QNIMError.h`.

`QNIMGroupApplicationExpiredOrHandled`

Declared In `QNIMError.h`.

`QNIMGroupInvitationExpiredOrHandled`

Declared In `QNIMError.h`.

`QNIMGroupKickTooManyTimes`

Declared In `QNIMError.h`.

`QNIMGroupMemberExist`

Declared In `QNIMError.h`.

`QNIMGroupBlockListExist`

Declared In `QNIMError.h`.

`QNIMGroupAnnouncementNotFound`

Declared In `QNIMError.h`.

`QNIMGroupAnnouncementForbidden`

Declared In `QNIMError.h`.

`QNIMGroupSharedFileNotFound`

Declared In `QNIMError.h`.

`QNIMGroupSharedFileOperateNotAllowed`

Declared In `QNIMError.h`.

`QNIMGroupMemberBanned`

Declared In `QNIMError.h`.

`QNIMSignInCancelled`

Declared In `QNIMError.h`.

`QNIMSignInTimeout`

Declared In `QNIMError.h`.

`QNIMSignInFailed`

Declared In `QNIMError.h`.

`QNIMDbOperationFailed`

Declared In `QNIMError.h`.

`QNIMMessageInvalid`

Declared In `QNIMError.h`.

`QNIMMessageOutRecallTime`

Declared In `QNIMError.h`.

`QNIMMessageRecallDisabled`

Declared In `QNIMError.h`.

`QNIMMessageCensored`

Declared In `QNIMError.h`.

`QNIMMessageInvalidType`

Declared In `QNIMError.h`.

`QNIMServerNotReachable`

Declared In `QNIMError.h`.

`QNIMServerUnknownError`

Declared In `QNIMError.h`.

`QNIMServerInvalid`

Declared In `QNIMError.h`.

`QNIMServerDecryptionFailed`

Declared In `QNIMError.h`.

`QNIMServerEncryptMethodUnsupported`

Declared In `QNIMError.h`.

`QNIMServerBusy`

Declared In `QNIMError.h`.

`QNIMServerNeedRetry`

Declared In `QNIMError.h`.

`QNIMServerTimeOut`

Declared In `QNIMError.h`.

`QNIMServerConnectFailed`

Declared In `QNIMError.h`.

`QNIMServerDNSFailed`

Declared In `QNIMError.h`.

`QNIMServerNeedReconnected`

Declared In `QNIMError.h`.

`QNIMServerFileUploadUnknownError`

Declared In `QNIMError.h`.

`QNIMServerFileDownloadUnknownError`

Declared In `QNIMError.h`.

`QNIMServerInvalidLicense`

Declared In `QNIMError.h`.

`QNIMServerLicenseLimit`

Declared In `QNIMError.h`.

`QNIMServerAppFrozen`

Declared In `QNIMError.h`.

`QNIMServerTooManyRequest`

Declared In `QNIMError.h`.

以上内容是否对您有帮助？