芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/rxjs/src/internal/util/tryCatch.ts
import { errorObject } from './errorObject'; let tryCatchTarget: Function; function tryCatcher(this: any): any { errorObject.e = undefined; try { return tryCatchTarget.apply(this, arguments); } catch (e) { errorObject.e = e; return errorObject; } finally { tryCatchTarget = undefined; } } export function tryCatch
(fn: T): T { tryCatchTarget = fn; return
tryCatcher; }