reportJsonException function

void reportJsonException(
  1. int engineId,
  2. Pointer<Utf8> jsonValue
)

Implementation

void reportJsonException(
  int engineId,
  Pointer<Utf8> jsonValue,
) {
  var exception = jsonValue.toDartString();
  LogUtils.e("Voltron_bridge", "reportJsonException\n !!!!!!!!!!!!!!!!!!! \n Error($exception)");

  final bridge = VoltronBridgeManager.bridgeMap[engineId];
  if (bridge != null) {
    bridge.reportException(exception, "");
  }
}