wx.onError(function listener)
功能描述
监听全局错误事件
参数
function listener
全局错误事件的监听函数
参数
object error
错误
属性 | 类型 | 说明 |
message | string | 错误 |
stack | 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.