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