reportJSException function
void
reportJSException()
Implementation
void reportJSException(
int engineId,
Pointer<Utf16> descriptionStream,
Pointer<Utf16> stackStream,
) {
var exception = descriptionStream.toDartString();
var stackTrace = stackStream.toDartString();
LogUtils.e(
"Voltron_bridge",
"reportJsException\n !!!!!!!!!!!!!!!!!!! \n Error($exception)\n StackTrace($stackTrace)",
);
final bridge = VoltronBridgeManager.bridgeMap[engineId];
if (bridge != null) {
bridge.reportException(exception, stackTrace);
}
}