UNPKG

556 BTypeScriptView Raw
1/**
2 * Handles an error on another job either with the user-configured {@link onUnhandledError},
3 * or by throwing it on that new job so it can be picked up by `window.onerror`, `process.on('error')`, etc.
4 *
5 * This should be called whenever there is an error that is out-of-band with the subscription
6 * or when an error hits a terminal boundary of the subscription and no error handler was provided.
7 *
8 * @param err the error to report
9 */
10export declare function reportUnhandledError(err: any): void;
11//# sourceMappingURL=reportUnhandledError.d.ts.map
\No newline at end of file