This repository was archived by the owner on Apr 25, 2025. It is now read-only.
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Consolidate throw and rethrow #113
Closed
Description
I think the original reasons for keeping these as distinct concepts have sort of dissolved(?). (I have no idea what the right word to use is.)
We should have just new_exn
or alloc_exn
or something of the like, and throw
but taking an exnref
.
If it helps prove the point here's how you can implement new_exn $exception
now:
try { throw $event } catch {}
Metadata
Metadata
Assignees
Labels
No labels