Lynx

onReceivedError

Called when error received.

Syntax

Android

public void onReceivedError(LynxError error);

Parameters

  • error: The type and information of the error.

Harmony

public onReceivedError(error: LynxError): void;

Parameters

  • error: The type and information of the error.

Desktop (C++)

class YourViewClient : public lynx::pub::LynxViewClient {
 public:
  void OnReceivedError(int error_code, const char* message) override;
};

Parameters

  • error_code: The error code.
  • message: The error message.

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.