# UDPSocket.onError(function callback)

Listens on the error event.

# Parameters

# function callback

The callback function for the error event.

# Parameters

# Object res
Property Type Description
errMsg string Error message