Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / _esm5 / internal / util / tryCatch.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm5/internal/util/tryCatch.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/_esm5/internal/util/tryCatch.js
new file mode 100644 (file)
index 0000000..d49095d
--- /dev/null
@@ -0,0 +1,21 @@
+/** PURE_IMPORTS_START _errorObject PURE_IMPORTS_END */
+import { errorObject } from './errorObject';
+var tryCatchTarget;
+function tryCatcher() {
+    errorObject.e = undefined;
+    try {
+        return tryCatchTarget.apply(this, arguments);
+    }
+    catch (e) {
+        errorObject.e = e;
+        return errorObject;
+    }
+    finally {
+        tryCatchTarget = undefined;
+    }
+}
+export function tryCatch(fn) {
+    tryCatchTarget = fn;
+    return tryCatcher;
+}
+//# sourceMappingURL=tryCatch.js.map