decord/source/__polyfill/12xxx/module_12903.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

25 lines
799 B
JavaScript

// Module ID: 12903
// Function ID: 12904
// Dependencies: [12904, 12887, 12883]
// Module 12903
import eventFromMessage from "eventFromMessage" /* 12887 */;
import _mod12904 from "module_12904" /* 12904 */;
import setupIntegration from "module_12883" /* 12883 */;
export const linkedErrorsIntegration = setupIntegration.defineIntegration(() => {
let obj = arg0;
if (arg0 === undefined) {
obj = {};
}
closure_0 = obj.limit || 5;
closure_1 = obj.key || "cause";
return {
name: "LinkedErrors",
preprocessEvent(arg0, arg1, getOptions) {
const options = getOptions.getOptions();
const result = _mod12904.applyAggregateErrorsToEvent(eventFromMessage.exceptionFromError, options.stackParser, options.maxValueLength, closure_1, closure_0, arg0, arg1);
}
};
});