JMSGTcpErrorCode Constants Reference

Declared in JMSGConstants.h

JMSGTcpErrorCode

这些错误码也会直接通过 SDK API 返回给应用层。

Definition

typedef NS_ENUM(NSUInteger, JMSGTcpErrorCode ) {
   kJMSGErrorTcpAppkeyNotRegistered = 800003,
   kJMSGErrorTcpServerInternalError = 800009,
   kJMSGErrorTcpUserLogoutState = 800012,
   kJMSGErrorTcpUserOfflineState = 800013,
   kJMSGErrorTcpUserDeviceNotMatch = 800016,
   kJMSGErrorTcpUserNotRegistered = 801003,
   kJMSGErrorTcpUserPasswordError = 801004,
   kJMSGErrorTcpTargetUserNotExist = 803003,
   kJMSGErrorTcpTargetGroupNotExist = 803004,
   kJMSGErrorTcpUserNotInGroup = 803005,
   kJMSGErrorTcpUserInBlacklist = 803008,
   kJMSGErrorTcpContentIsIllegal = 803009,
   kJMSGErrorTcpGroupMembersEmpty = 810002,
   kJMSGErrorTcpGroupMembersDuplicated = 810007,
};

Constants

kJMSGErrorTcpAppkeyNotRegistered

appKey 未被注册

Declared In JMSGConstants.h.

kJMSGErrorTcpServerInternalError

服务器端内部错误

Declared In JMSGConstants.h.

kJMSGErrorTcpUserLogoutState

用户在登出状态

Declared In JMSGConstants.h.

kJMSGErrorTcpUserOfflineState

用户在离线状态

Declared In JMSGConstants.h.

kJMSGErrorTcpUserDeviceNotMatch

发起请求的用户设备不匹配

Declared In JMSGConstants.h.

kJMSGErrorTcpUserNotRegistered

用户未注册

Declared In JMSGConstants.h.

kJMSGErrorTcpUserPasswordError

用户密码错误

Declared In JMSGConstants.h.

kJMSGErrorTcpTargetUserNotExist

目标用户不存在

Declared In JMSGConstants.h.

kJMSGErrorTcpTargetGroupNotExist

目标群组不存在

Declared In JMSGConstants.h.

kJMSGErrorTcpUserNotInGroup

用户不在群组里

Declared In JMSGConstants.h.

kJMSGErrorTcpUserInBlacklist

用户在黒名单里

Declared In JMSGConstants.h.

kJMSGErrorTcpContentIsIllegal

内容不合法

Declared In JMSGConstants.h.

kJMSGErrorTcpGroupMembersEmpty

群组成员列表为空

Declared In JMSGConstants.h.

kJMSGErrorTcpGroupMembersDuplicated

群组成员重复

Declared In JMSGConstants.h.

Declared In

JMSGConstants.h