15815213711
2024-08-26 67b8b6731811983447e053d4396b3708c14dfe3c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Handles dealing with errors for super-gross mode. Creates a context, in which
 * any synchronously thrown errors will be passed to {@link captureError}. Which
 * will record the error such that it will be rethrown after the call back is complete.
 * TODO: Remove in v8
 * @param cb An immediately executed function.
 */
export declare function errorContext(cb: () => void): void;
/**
 * Captures errors only in super-gross mode.
 * @param err the error to capture
 */
export declare function captureError(err: any): void;
//# sourceMappingURL=errorContext.d.ts.map