ErrorHandler: (error: Event) => void

Handler for WebSocket errors.

Type declaration

    • (error: Event): void
    • Parameters

      • error: Event

      Returns void