decord/source/887_linkedErrorsIntegration.js

29 lines
928 B
JavaScript
Raw Normal View History

2026-07-20 16:05:17 +00:00
// Module ID: 887
2026-07-25 08:10:48 +00:00
// Function ID: 9815
2026-07-20 16:05:17 +00:00
// Name: linkedErrorsIntegration
2026-07-23 10:11:24 +00:00
// Dependencies: [888, 869, 863]
2026-07-20 16:05:17 +00:00
// Module 887 (linkedErrorsIntegration)
2026-07-23 10:11:24 +00:00
import setupIntegration from "setupIntegration";
2026-07-20 16:05:17 +00:00
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2026-07-23 10:11:24 +00:00
export const linkedErrorsIntegration = setupIntegration.defineIntegration(function _linkedErrorsIntegration() {
2026-07-20 16:05:17 +00:00
if (arguments.length > 0) {
if (undefined !== arguments[0]) {
let first = arguments[0];
}
let closure_0 = first.limit || 5;
let closure_1 = first.key || "cause";
const obj = {
name: "LinkedErrors",
preprocessEvent(arg0, arg1, getOptions) {
const options = getOptions.getOptions();
2026-07-23 10:11:24 +00:00
const result = callback(888).applyAggregateErrorsToEvent(callback(869).exceptionFromError, options.stackParser, dependencyMap, callback, arg0, arg1);
2026-07-20 16:05:17 +00:00
}
};
return obj;
}
first = {};
});