Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is very much non-idiomatic. Panics are not intended as “application” error reporting, but rather as “programming” error.

The intended use-case of catch_unwind is to protect the wider program e.g. avoid breaking a threadpool worker or a scheduler on panic, or transmit the information cross threads or to collation tools like sentry.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: