Open symful opened 5 days ago
This is an interesting idea. Currently being discussed in the Discord server — feel free to jump in!
What specific sort of error do you want to trap with this? You can make this yourself, for any function you write, provided it does not contain MiniScript runtime errors. But runtime errors almost always indicate a bug in your code; you should fix the bug, rather than trap the result and do something about it.
So, what's the use case where you need some extra language support?
Will be great to have this as I am unable to make it by my own without messing the code in the main repository.