frontend/.pnpm-store/v3/files/4f/e06752fe916eb3ead0d3051db00b1bcafb59163c489309fb61a8a3668aa7b9e365e5617c11b4c0c025bb6e779be847c37843ba52c1f06c644b06a5c9853123

23 lines
584 B
Plaintext

"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