项目原始demo,不改动
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.
 
 
 
 

19 righe
422 B

  1. "use strict";
  2. var errorObject_1 = require('./errorObject');
  3. var tryCatchTarget;
  4. function tryCatcher() {
  5. try {
  6. return tryCatchTarget.apply(this, arguments);
  7. }
  8. catch (e) {
  9. errorObject_1.errorObject.e = e;
  10. return errorObject_1.errorObject;
  11. }
  12. }
  13. function tryCatch(fn) {
  14. tryCatchTarget = fn;
  15. return tryCatcher;
  16. }
  17. exports.tryCatch = tryCatch;
  18. ;
  19. //# sourceMappingURL=tryCatch.js.map