Comment

Comment by Pxtl

Obviously I'm being terse for argument.

You can easily imagine

  InvokeWithErrorLogger(fn, fnparam, log)
or

  InvokeWithErrorAnnotator(fn, fnparam, annotatorFn)
Or any other common error-handling pattern.
parent Pxtl 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton