From ecfbfc7ea438ce009c02198bf7faddcd703682c5 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L. de Mello" Date: Thu, 18 Jan 2024 18:53:41 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=94=A7=20add=20changeset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/cool-days-grow.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cool-days-grow.md diff --git a/.changeset/cool-days-grow.md b/.changeset/cool-days-grow.md new file mode 100644 index 0000000..244394d --- /dev/null +++ b/.changeset/cool-days-grow.md @@ -0,0 +1,5 @@ +--- +"lilbetter.js": minor +--- + +Created the tryAsync (tryA) and trySync (tryS) functions, said can be used for wrapping and calling functions that can throw error. Said error can then be handled using in a Go-like fashion.