frontend/.pnpm-store/v3/files/3e/837a8fbb4fb2336d0fd795fd73e1eaeec283ca53096b0553c87f4a972a58509fc7dd207e390b05e66d5e99535e3f3097357acedca6e52759ea93f527066c2b

11 lines
556 B
Plaintext

/**
* Handles an error on another job either with the user-configured {@link onUnhandledError},
* or by throwing it on that new job so it can be picked up by `window.onerror`, `process.on('error')`, etc.
*
* This should be called whenever there is an error that is out-of-band with the subscription
* or when an error hits a terminal boundary of the subscription and no error handler was provided.
*
* @param err the error to report
*/
export declare function reportUnhandledError(err: any): void;
//# sourceMappingURL=reportUnhandledError.d.ts.map