dashboard
repositories
filestore
activity
search
login
刘苏义
/
ruoyi-api
forked from
ard/ruoyi-api
summary
commits
tree
docs
forks
compare
blame
|
history
|
raw
增加ptz解锁接口
‘liusuyi’
2023-06-30
a244194128df25b5d94cd1ee61e5e0a5e0c8ffd9
[~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);
}