Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface WebSocket.ErrorHandler

Handler for transport- or protocol-level errors. The connection is closed by the time this fires.

Methods

public abstract void onError(WebSocket ws, Exception ex)

Method details

onError

public abstract void onError(WebSocket ws, Exception ex)