1 | import type { Event, EventHint, Exception, ExtendedError, Integration, StackParser } from '@sentry/types';
|
2 | interface LinkedErrorsOptions {
|
3 | key: string;
|
4 | limit: number;
|
5 | }
|
6 |
|
7 | export declare class LinkedErrors implements Integration {
|
8 | |
9 |
|
10 |
|
11 | static id: string;
|
12 | |
13 |
|
14 |
|
15 | readonly name: string;
|
16 | |
17 |
|
18 |
|
19 | private readonly _key;
|
20 | |
21 |
|
22 |
|
23 | private readonly _limit;
|
24 | |
25 |
|
26 |
|
27 | constructor(options?: Partial<LinkedErrorsOptions>);
|
28 | /**
|
29 | * @inheritDoc
|
30 | */
|
31 | setupOnce(): void;
|
32 | }
|
33 | /**
|
34 | * @inheritDoc
|
35 | */
|
36 | export declare function _handler(parser: StackParser, key: string, limit: number, event: Event, hint?: EventHint): Event | null;
|
37 | /**
|
38 | * JSDOC
|
39 | */
|
40 | export declare function _walkErrorTree(parser: StackParser, limit: number, error: ExtendedError, key: string, stack?: Exception[]): Exception[];
|
41 | export {};
|
42 |
|
\ | No newline at end of file |