Web SDK - RainwayConfig.onPeerError

Home > rainway-sdk > RainwayConfig > onPeerError

RainwayConfig.onPeerError property

Called when a remote peer encountered a fatal error.

RainwayError.message explains what went wrong.

Signature:

onPeerError?: (runtime: RainwayRuntime, peer: RainwayPeer, error: RainwayError) => void;