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

What are your thoughts on error handling? The examples seem happy-path only. I find that code gets verbose once you handle errors, and things like backoff and retry.


hyperscript is designed for light, event-based scripting so we don't have a huge focus on error handling, but we do support a single catch/finally block per event handler or method:

https://hyperscript.org/docs/#exceptions




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: