source:
trip-planner-front/node_modules/rxjs/src/internal/util/hostReportError.ts@
6a80231
Last change on this file since 6a80231 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 237 bytes |
Line | |
---|---|
1 | /** |
2 | * Throws an error on another job so that it's picked up by the runtime's |
3 | * uncaught error handling mechanism. |
4 | * @param err the error to throw |
5 | */ |
6 | export function hostReportError(err: any) { |
7 | setTimeout(() => { throw err; }, 0); |
8 | } |
Note:
See TracBrowser
for help on using the repository browser.