1 | import type { Event, EventHint, Exception, Severity, SeverityLevel, StackFrame, StackParser } from '@sentry/types';
|
2 |
|
3 |
|
4 |
|
5 | export declare function exceptionFromError(stackParser: StackParser, ex: Error): Exception;
|
6 |
|
7 |
|
8 |
|
9 | export declare function eventFromPlainObject(stackParser: StackParser, exception: Record<string, unknown>, syntheticException?: Error, isUnhandledRejection?: boolean): Event;
|
10 |
|
11 |
|
12 |
|
13 | export declare function eventFromError(stackParser: StackParser, ex: Error): Event;
|
14 |
|
15 | export declare function parseStackFrames(stackParser: StackParser, ex: Error & {
|
16 | framesToPop?: number;
|
17 | stacktrace?: string;
|
18 | }): StackFrame[];
|
19 |
|
20 |
|
21 |
|
22 |
|
23 | export declare function eventFromException(stackParser: StackParser, exception: unknown, hint?: EventHint, attachStacktrace?: boolean): PromiseLike<Event>;
|
24 |
|
25 |
|
26 |
|
27 |
|
28 | export declare function eventFromMessage(stackParser: StackParser, message: string, level?: Severity | SeverityLevel, hint?: EventHint, attachStacktrace?: boolean): PromiseLike<Event>;
|
29 |
|
30 |
|
31 |
|
32 | export declare function eventFromUnknownInput(stackParser: StackParser, exception: unknown, syntheticException?: Error, attachStacktrace?: boolean, isUnhandledRejection?: boolean): Event;
|
33 |
|
34 |
|
35 |
|
36 | export declare function eventFromString(stackParser: StackParser, input: string, syntheticException?: Error, attachStacktrace?: boolean): Event;
|
37 |
|
\ | No newline at end of file |