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

36 lines
2.2 KiB
JavaScript

/* Metro module 919; source: unknown; dependencies: [920, 901, 895] */
import * as Module00901Module from './module-00901.js'; /* Metro dependency 901 */
import * as ApplyAggregateErrorsToEventModule from './module-00920-applyAggregateErrorsToEvent.js'; /* Metro dependency 920 */
function _fun9841(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9841, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1046:6, offset: 0x00d73cbc, size: 101 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(895) /* metro dependency 895 */).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: _fun9843};
});
function _linkedErrorsIntegration() { // fn#9842, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1046:124, offset: 0x00d73d21, 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};
function preprocessEvent(a0, a1, a2) { // fn#9843, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1046:297, owner: _linkedErrorsIntegration.preprocessEvent, offset: 0x00d73d77, size: 93 bytes, params: 4, frame: 22
const options = a2.getOptions();
ApplyAggregateErrorsToEventModule.applyAggregateErrorsToEvent((Module00901Module).exceptionFromError,
options.stackParser, key, limit, a0, a1);
}
}
}
global.__d(_fun9841, 919, [920, 901, 895]) /* metro module 919, dependencies: [920, 901, 895] */;