1 | import { Event, EventHint, EventProcessor, Hub, Integration } from '@sentry/types';
|
2 |
|
3 | interface ExtraErrorDataOptions {
|
4 | depth?: number;
|
5 | }
|
6 |
|
7 | export declare class ExtraErrorData implements Integration {
|
8 | |
9 |
|
10 |
|
11 | static id: string;
|
12 | |
13 |
|
14 |
|
15 | name: string;
|
16 |
|
17 | private readonly _options;
|
18 | |
19 |
|
20 |
|
21 | constructor(options?: ExtraErrorDataOptions);
|
22 | /**
|
23 | * @inheritDoc
|
24 | */
|
25 | setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
|
26 | /**
|
27 | * Attaches extracted information from the Error object to extra field in the Event
|
28 | */
|
29 | enhanceEventWithErrorData(event: Event, hint?: EventHint): Event;
|
30 | /**
|
31 | * Extract extra information from the Error object
|
32 | */
|
33 | private _extractErrorData;
|
34 | }
|
35 | export {};
|
36 |
|
\ | No newline at end of file |