onerror

Ponerror
Bun

Symbol

WebSocket.onerror

onerror: null | (this: WebSocket, ev: Event) => any

Event handler for error event