> For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

# VertoPongError

> Thrown when a Verto ping/pong heartbeat fails.

Raised when the Verto ping/pong heartbeat misses a response window — typically a symptom of a stalled WebSocket or a network change that hasn't yet been detected. The SDK reacts by disconnecting and starting the reconnection/recovery flow; this error is informational and does not by itself terminate any call.

## **Extends**

* `Error`

## **Constructors**

### Constructor

```ts
new VertoPongError(originalError): VertoPongError
```

#### Parameters

Underlying error raised by the Verto ping/pong handler.

#### Returns

`VertoPongError`

## **Properties**

Underlying error raised by the Verto ping/pong handler.

## **Examples**

```ts
import { VertoPongError } from '@signalwire/js';

client.errors$.subscribe((err) => {
  if (err instanceof VertoPongError) {
    console.warn('heartbeat missed — reconnecting:', err.originalError);
  }
});
```