onConnectError method

void onConnectError(
  1. EventHandler handler
)

Implementation

void onConnectError(EventHandler handler) {
  on('connect_error', handler);
}