Closed Simn closed 7 years ago
@Simn There's actually Error.rethrow which does the platform dance. I wonder what happened to the "detect throw in catch and generate rethrow" idea that I vaguely remember having read somewhere at some time?
People (or well, Nicolas) were arguing that you might not want to automatically re-throw an exception. There was also some other problem that I don't recall right now.
Ok, fair enough. Thanks for the info ;)
Sorry about the whitespaces...
This calls neko.Lib.rethrow only if it's actually running in neko.