RCErrorCode Constants Reference

Declared in RCStatusDefine.h

RCErrorCode

具体业务错误码

Definition

typedef NS_ENUM(NSInteger, RCErrorCode ) {
   ERRORCODE_UNKNOWN = -1,
   REJECTED_BY_BLACKLIST = 405,
   ERRORCODE_TIMEOUT = 5004,
   SEND_MSG_FREQUENCY_OVERRUN = 20604,
   NOT_IN_DISCUSSION = 21406,
   NOT_IN_GROUP = 22406,
   FORBIDDEN_IN_GROUP = 22408,
   NOT_IN_CHATROOM = 23406,
   FORBIDDEN_IN_CHATROOM = 23408,
   KICKED_FROM_CHATROOM = 23409,
   RC_CHATROOM_NOT_EXIST = 23410,
   RC_CHATROOM_IS_FULL = 23411,
   RC_PARAMETER_INVALID_CHATROOM = 23412,
   RC_ROAMING_SERVICE_UNAVAILABLE_CHATROOM = 23414,
   RC_CHANNEL_INVALID = 30001,
   RC_NETWORK_UNAVAILABLE = 30002,
   RC_MSG_RESPONSE_TIMEOUT = 30003,
   CLIENT_NOT_INIT = 33001,
   DATABASE_ERROR = 33002,
   INVALID_PARAMETER = 33003,
   MSG_ROAMING_SERVICE_UNAVAILABLE = 33007,
   INVALID_PUBLIC_NUMBER = 29201,
   RC_MSG_SIZE_OUT_OF_LIMIT = 30016,
   RC_RECALLMESSAGE_PARAMETER_INVALID = 25101,
   RC_PUSHSETTING_PARAMETER_INVALID = 26001,
   RC_OPERATION_BLOCKED = 20605,
   RC_OPERATION_NOT_SUPPORT = 20606,
   RC_MSG_BLOCKED_SENSITIVE_WORD = 21501,
   RC_MSG_REPLACED_SENSITIVE_WORD = 21502,
   RC_SIGHT_MSG_DURATION_LIMIT_EXCEED = 34002,
};

Constants

ERRORCODE_UNKNOWN
 未知错误(预留)

Declared In RCStatusDefine.h.

REJECTED_BY_BLACKLIST
 已被对方加入黑名单

Declared In RCStatusDefine.h.

ERRORCODE_TIMEOUT
 超时

Declared In RCStatusDefine.h.

SEND_MSG_FREQUENCY_OVERRUN
 发送消息频率过高,1秒钟最多只允许发送5条消息

Declared In RCStatusDefine.h.

NOT_IN_DISCUSSION
 不在该讨论组中

Declared In RCStatusDefine.h.

NOT_IN_GROUP
 不在该群组中

Declared In RCStatusDefine.h.

FORBIDDEN_IN_GROUP
 在群组中已被禁言

Declared In RCStatusDefine.h.

NOT_IN_CHATROOM
 不在该聊天室中

Declared In RCStatusDefine.h.

FORBIDDEN_IN_CHATROOM
 在该聊天室中已被禁言

Declared In RCStatusDefine.h.

KICKED_FROM_CHATROOM
 已被踢出并禁止加入聊天室

Declared In RCStatusDefine.h.

RC_CHATROOM_NOT_EXIST
 聊天室不存在

Declared In RCStatusDefine.h.

RC_CHATROOM_IS_FULL
 聊天室成员超限

Declared In RCStatusDefine.h.

RC_PARAMETER_INVALID_CHATROOM
 聊天室接口参数无效

Declared In RCStatusDefine.h.

RC_ROAMING_SERVICE_UNAVAILABLE_CHATROOM
 聊天室云存储业务未开通

Declared In RCStatusDefine.h.

RC_CHANNEL_INVALID
 当前连接不可用(连接已经被释放)

Declared In RCStatusDefine.h.

RC_NETWORK_UNAVAILABLE
 当前连接不可用

Declared In RCStatusDefine.h.

RC_MSG_RESPONSE_TIMEOUT
 消息响应超时

Declared In RCStatusDefine.h.

CLIENT_NOT_INIT
 SDK没有初始化

Declared In RCStatusDefine.h.

DATABASE_ERROR
 数据库错误

Declared In RCStatusDefine.h.

INVALID_PARAMETER
 开发者接口调用时传入的参数错误

Declared In RCStatusDefine.h.

MSG_ROAMING_SERVICE_UNAVAILABLE
 历史消息云存储业务未开通

Declared In RCStatusDefine.h.

INVALID_PUBLIC_NUMBER
 无效的公众号。(由会话类型和Id所标识的公众号会话是无效的)

Declared In RCStatusDefine.h.

RC_MSG_SIZE_OUT_OF_LIMIT
  消息大小超限,消息体(序列化成json格式之后的内容)最大128k bytes。

Declared In RCStatusDefine.h.

RC_RECALLMESSAGE_PARAMETER_INVALID
撤回消息参数无效。

Declared In RCStatusDefine.h.

RC_PUSHSETTING_PARAMETER_INVALID
push设置参数无效。

Declared In RCStatusDefine.h.

RC_OPERATION_BLOCKED
操作被禁止。

Declared In RCStatusDefine.h.

RC_OPERATION_NOT_SUPPORT
操作不支持。

Declared In RCStatusDefine.h.

RC_MSG_BLOCKED_SENSITIVE_WORD
 发送的消息中包含敏感词 (发送方发送失败,接收方不会收到消息)

Declared In RCStatusDefine.h.

RC_MSG_REPLACED_SENSITIVE_WORD
 消息中敏感词已经被替换 (接收方可以收到被替换之后的消息)

Declared In RCStatusDefine.h.

RC_SIGHT_MSG_DURATION_LIMIT_EXCEED
 小视频消息超限

Declared In RCStatusDefine.h.

Declared In

RCStatusDefine.h