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

> Can i do something like a general try/catch far up the stack?

Rust does not have exceptions, so not exactly. You _could_ spin up a new task (thread) with the code, and then monitor that task for failure.



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

Search: