2 ms·
Thanks for replying. > Requiring an exception to preserve the scope in some specific case is... problematic, to say the least. I was thinking about having exc
by nailer 9y ago
Thanks for replying.
> Requiring an exception to preserve the scope in some specific case is... problematic, to say the least.
I was thinking about having exceptions preserve scope in all cases, or in all cases if a flag is turned on. I don't quite understand what the difference is between `catch(error)` when using await/promises and `catch(error)` when doing something else. Is the main concern here the overhead?