Files
2026-07-28 01:06:53 +03:00

26 lines
1.5 KiB
JavaScript

/* Metro module 267; source: unknown; dependencies: [183] */
import SyntheticError2 from './module-00183-SyntheticError.js'; /* Metro dependency 183 */
import * as SyntheticErrorModule from './module-00183-SyntheticError.js'; /* Metro dependency 183 */
function _fun3374(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3374, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:298:6, offset: 0x00c95e06, size: 80 bytes, params: 8, frame: 16
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.default = {showErrorDialog: showErrorDialog};
function showErrorDialog({componentStack, error}) { // fn#3375, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:298:115, offset: 0x00c95e56, size: 224 bytes, params: 2, frame: 18
const SyntheticError = (SyntheticErrorModule).SyntheticError;
const Error = global.Error;
const r2 = error instanceof Error ? error : typeof error === 'string' ? new SyntheticError(error) : new SyntheticError('Unspecified error');
try {
r2.componentStack = componentStack;
r2.isComponentError = true;
} catch (error) {
}
(SyntheticError2).handleException(r2, false);
return false;
}
}
global.__d(_fun3374, 267, [183]) /* metro module 267, dependencies: [183] */;