a zip code crypto-currency system good for red ONLY

tryCatch.js 415B

12345678910111213141516171819
  1. /** PURE_IMPORTS_START ._errorObject PURE_IMPORTS_END */
  2. import { errorObject } from './errorObject';
  3. var tryCatchTarget;
  4. function tryCatcher() {
  5. try {
  6. return tryCatchTarget.apply(this, arguments);
  7. }
  8. catch (e) {
  9. errorObject.e = e;
  10. return errorObject;
  11. }
  12. }
  13. export function tryCatch(fn) {
  14. tryCatchTarget = fn;
  15. return tryCatcher;
  16. }
  17. ;
  18. //# sourceMappingURL=tryCatch.js.map