VertoPongError

View as MarkdownOpen in Claude

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

new VertoPongError(originalError): VertoPongError

Parameters

originalError
unknownRequired

Underlying error raised by the Verto ping/pong handler.

Returns

VertoPongError

Properties

originalError
unknownRequired

Underlying error raised by the Verto ping/pong handler.

Examples

import { VertoPongError } from '@signalwire/js';
client.errors$.subscribe((err) => {
if (err instanceof VertoPongError) {
console.warn('heartbeat missed — reconnecting:', err.originalError);
}
});