Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / internal / util / tryCatch.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/internal/util/tryCatch.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/rxjs/internal/util/tryCatch.js
new file mode 100644 (file)
index 0000000..42f2191
--- /dev/null
@@ -0,0 +1,23 @@
+"use strict";
+Object.defineProperty(exports, "__esModule", { value: true });
+var errorObject_1 = require("./errorObject");
+var tryCatchTarget;
+function tryCatcher() {
+    errorObject_1.errorObject.e = undefined;
+    try {
+        return tryCatchTarget.apply(this, arguments);
+    }
+    catch (e) {
+        errorObject_1.errorObject.e = e;
+        return errorObject_1.errorObject;
+    }
+    finally {
+        tryCatchTarget = undefined;
+    }
+}
+function tryCatch(fn) {
+    tryCatchTarget = fn;
+    return tryCatcher;
+}
+exports.tryCatch = tryCatch;
+//# sourceMappingURL=tryCatch.js.map
\ No newline at end of file