onReceivedError

收到后台运行时中的错误时调用,错误可能来自 JS 或 Native(C++)。

语法

Android

public void onReceivedError(LynxError error);

参数

  • error: 错误信息。

iOS

- (void)runtime:(LynxBackgroundRuntime *)runtime didReceiveError:(NSError *)error;

参数

  • error: 错误信息。

兼容性

LCD tables only load in the browser

除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。