Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,21 @@
|
||||
/* Metro module 267; source: unknown; dependencies: [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 = (require(183) /* metro dependency 183 */).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) {
|
||||
}
|
||||
(importDefault(183) /* metro dependency 183 */).handleException(r2, false);
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user