Oh gosh, this was a long time ago. In the PR discussion you'll see I shared an example of a rethrows
function modifying the error being thrown
This example actually comes from code in my PMJSON framework which did exactly this:
In fact, this code is the original motivation for the change.
(warning: if you look at the code history of that repo you'll find my deadname)
3 Likes