Google is committed to advancing racial equity for Black communities. See how.

handleCtrlError function

void handleCtrlError (dynamic ctrl, String message)

Calls close and signals the error on the ctrl.

Implementation

void handleCtrlError(dynamic ctrl, String message) {
  ctrl.proxyError(FidlError(message));
  ctrl.close();
}