mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-13 05:55:26 +00:00
update
This commit is contained in:
18
node_modules/rxjs/_esm5/util/tryCatch.js
generated
vendored
Normal file
18
node_modules/rxjs/_esm5/util/tryCatch.js
generated
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
/** PURE_IMPORTS_START ._errorObject PURE_IMPORTS_END */
|
||||
import { errorObject } from './errorObject';
|
||||
var tryCatchTarget;
|
||||
function tryCatcher() {
|
||||
try {
|
||||
return tryCatchTarget.apply(this, arguments);
|
||||
}
|
||||
catch (e) {
|
||||
errorObject.e = e;
|
||||
return errorObject;
|
||||
}
|
||||
}
|
||||
export function tryCatch(fn) {
|
||||
tryCatchTarget = fn;
|
||||
return tryCatcher;
|
||||
}
|
||||
;
|
||||
//# sourceMappingURL=tryCatch.js.map
|
Reference in New Issue
Block a user