electerious / nice-try

Tries to execute a function and discards any error that occurs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for C++?

roim opened this issue · comments

Hi, thanks for the project!

I’m wondering if you can provide bindings to also support nicely trying C++ functions? I find it harder to try/catch those, especially exceptions like OOM.

Glad you like nice-try and the way it throws errors away!

I agree with you that more language need a nice-try module, but this one will keep its focus on JS environments.