Skip to content

Commit fd0d941

Browse files
authored
Added trycatch.min.js 📥
1 parent 87c4f2d commit fd0d941

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dist/trycatch.min.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**!
2+
* @license TryCatch.js - A JavaScript library to handle errors in a more clean structured way.
3+
* VERSION: 1.0.0
4+
* LICENSED UNDER MIT LICENSE
5+
* MORE INFO CAN BE FOUND AT https://github.com/MarketingPipeline/TryCatch.js/
6+
*/ export function tryCatch(t,r,n,e){try{let i=t();if(e&&void 0===i)return e();return i}catch(c){if(r)return r(c);throw c}finally{n&&n()}}

0 commit comments

Comments
 (0)