TCPSocket.onError(function listener)
小程序插件:不支持
相关文档: 网络使用说明
功能描述
监听当错误发生时触发
参数
function listener
的监听函数
参数
Object res
属性 | 类型 | 说明 |
errMsg | string | 错误信息 |
The translations are provided by WeChat Translation and are for reference only. In case of any inconsistency and discrepancy between the Chinese version and the English version, the Chinese version shall prevail.Incorrect translation. Tap to report.