# wx.onSocketError(function callback)

Listens on the WebSocket error event.

# Parameters

# function callback

The callback function for the WebSocket error event.