handleError method

void handleError(
  1. Object error
)

Implementation

void handleError(Object error) {
  print(error);
  reset();
  if (!closed) {
    connect();
  }
}