> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# onReceivedJSError

APISummary
Called when JS error received.

## Syntax

### Android

```java
public void onReceivedJSError(LynxError jsError);
```

#### Parameters

- `jsError`: JS exception information.

## Compatibility

**Compatibility Table**

**Query:** `lynx-native-api.lynx-view-client.on-received-js-error`

[Source](https://github.com/lynx-family/lynx-website/tree/main/packages/lynx-compat-data/lynx-native-api/lynx-view-client/on-received-js-error.json)

| Feature | Android | HarmonyOS | iOS | macOS | Windows | Web |
| --- | --- | --- | --- | --- | --- | --- |
| on-received-js-error | Yes (1.0) | No | No | No | No | No |

**`on-received-js-error`**

Called when JS error received.

**Specifications:**

