Files
discord-decomp/sources/by-id/module-01087-linkedErrorsIntegration.js
T
2026-07-28 01:06:53 +03:00

36 lines
2.2 KiB
JavaScript

/* Metro module 1087; source: unknown; dependencies: [826, 1039] */
import * as Module00826Module from './module-00826.js'; /* Metro dependency 826 */
import * as Module01039Module from './module-01039.js'; /* Metro dependency 1039 */
function _fun11340(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11340, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1214:6, offset: 0x00da9cc1, size: 100 bytes, params: 8, frame: 19
let env0_0 = require;
const Object = global.Object;
const defineProperty = Object.defineProperty;
const Symbol = global.Symbol;
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
exports.linkedErrorsIntegration = (require(826) /* metro dependency 826 */).defineIntegration(function() {
var r0;
var env0_0 = (arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}).limit || 5;
r0 = r0.key || 'cause';
var env0_1 = r0;
return {name: 'LinkedErrors', preprocessEvent: _fun11342};
});
function _linkedErrorsIntegration_11341() { // fn#11341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1214:124, offset: 0x00da9d25, size: 86 bytes, params: 1, frame: 5
const r0 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
if (r0.limit) {
}
if (r0.key) {
}
return {name: 'LinkedErrors', preprocessEvent: preprocessEvent_11342};
function _linkedErrorsIntegration_11341PreprocessEvent(a0, a1, a2) { // fn#11342, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1214:297, owner: _linkedErrorsIntegration_11341.preprocessEvent, offset: 0x00d73d77, size: 93 bytes, params: 4, frame: 22
const options = a2.getOptions();
Module00826Module.applyAggregateErrorsToEvent((Module01039Module).exceptionFromError,
options.stackParser, key, limit, a0, a1);
}
}
}
global.__d(_fun11340, 1087, [826, 1039]) /* metro module 1087, dependencies: [826, 1039] */;