yDoCrash function
Implementation
void yDoCrash(dynamic error, {Object? errorObj}) {
if (!YConfig.catchCrash) return;
if (YConfig.onError != null) {
try {
YConfig.onError?.call(error, errorObj: errorObj);
} catch (e) {}
return;
}
yLog("${error != null ? "\n$error" : ""}\n$error");
wmxwNZSqnMbmvtpU()!.doCrash(error.toString());
}