dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
适配海康NVR
liusuyi
2024-05-25
a7638a68f1b1f7d4a829fb02824c7247bbc476a6
[~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);
}