Comment

Comment by interlocutor

> write generic functions that take functions as arguments and re-throw the errors thrown by these functions

There is a philosophy that applies here: simple things should be simple, complex things should be possible. The scenario you're mentioning is not common enough that the language design should be centered around it.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton