Comment

Comment by newaccount74

It's a very common pattern, almost every modern language has a "map" function. The map function can throw a superset of the exceptions that its argument can throw. If checked exceptions can't deal with this, they'll be of limited use.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton