本文介绍AIMPaaS服务端的错误码。

通用

code Message 含义
General.SystemError system error 系统错误
General.ParameterError parameter error 参数错误
General.FlowControlled request has been flow controled 请求已被流控制
General.RequestInProgress uuid repeated uuid重复
General.ArraySizeExceedLimit the size of array in request exceeds limit 请求中的数组大小超出限制

会话通用

code Message 含义
Conversation.NotExist conversation not exist 会话不存在
Conversation.UserNotInConv not in conversation 不在会话中

消息

code Message 含义
Message.NotExist message not exist 消息不存在
Message.NoRecallPermission no recall permission 无撤回许可
Message.RecallOvertime recall overtime message 撤回超时
Message.HasBeenRecalled message has been recalled 消息被撤回

群聊会话

code reason 含义
Group.UserHasBeenSilenced the sender has been silenced in the group 发送者在群中已被禁言
Group.HasBeenDismissed group chat dismissed 群聊已解散
Group.MemberExceedLimit group members exceed limit 群成员已满
Group.MemberNotExist group member not exist 群成员不存在
Group.MemberNoPermission group member has no permission 群成员没有权限
Group.OwnerCanNotLeave group owner can not leave 群主不能离开
Group.CannotChangeOwnerRole the change of group owner must be via the API of ChangeOwner 群主的更改必须通过ChangeOwner的API进行