dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
融云建群修改提交
zhangnaisong
2024-05-17
6bddb83b1e7556aa9b2b1d4ce7ed5f4b4c62f2d0
[~liusuyi/ruoyi-api.git]
/
ruoyi-ui
/
node_modules
/
rxjs
/
src
/
internal
/
util
/
hostReportError.ts
1
2
3
4
5
6
7
8
/**
* Throws an error on another job so that it's picked up by the runtime's
* uncaught error handling mechanism.
* @param err the error to throw
*/
export function hostReportError(err: any) {
setTimeout(() => { throw err; }, 0);
}