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

34 lines
2.2 KiB
JavaScript

/* Metro module 7445; source: unknown; dependencies: [7446, 7429, 7425] */
import * as Module07429Module from './module-07429.js'; /* Metro dependency 7429 */
import * as ApplyAggregateErrorsToEventModule from './module-07446-applyAggregateErrorsToEvent.js'; /* Metro dependency 7446 */
function _fun60068(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7623:6, offset: 0x016fa8b7, size: 89 bytes, params: 8, frame: 18
let env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
exports.linkedErrorsIntegration = (require(7425) /* metro dependency 7425 */).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: _fun60070};
});
function _linkedErrorsIntegration_60069() { // fn#60069, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7623:112, offset: 0x016fa910, 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_60070};
function _linkedErrorsIntegration_60069PreprocessEvent(a0, a1, a2) { // fn#60070, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7623:285, owner: _linkedErrorsIntegration_60069.preprocessEvent, offset: 0x016fa966, size: 99 bytes, params: 4, frame: 24
const options = a2.getOptions();
ApplyAggregateErrorsToEventModule.applyAggregateErrorsToEvent((Module07429Module).exceptionFromError,
options.stackParser, options.maxValueLength, key, limit, a0, a1);
}
}
}
global.__d(_fun60068, 7445, [7446, 7429, 7425]) /* metro module 7445, dependencies: [7446, 7429, 7425] */;