17 lines
595 B
JavaScript
17 lines
595 B
JavaScript
// Metro module 1079 (f1080).
|
|
import { defineIntegration, applyAggregateErrorsToEvent } from "./Module817";
|
|
import { exceptionFromError } from "./exceptionFromError_1031";
|
|
Object.defineProperty(exports, Symbol.toStringTag, {
|
|
value: "Module"
|
|
});
|
|
export const linkedErrorsIntegration = defineIntegration(function(r2 = {}) {
|
|
let c12710_0 = r2.limit || 5;
|
|
let c12710_1 = r2.key || "cause";
|
|
return {
|
|
name: "LinkedErrors",
|
|
preprocessEvent: (a0, a1, a2) => {
|
|
applyAggregateErrorsToEvent(exceptionFromError, a2.getOptions().stackParser, c12710_1, c12710_0, a0, a1);
|
|
}
|
|
};
|
|
});
|