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

Missing:

* errors from async-colored functions (ie. .then/.catch/.finally and higher order combinators on them, ie. we use a lot of p.catch(log.rescue(...)))

* errors in generators

* errors in async generators

Using functional approaches helps working with things like managing severity, error codes, nested errors etc. that may be attached to errors as well as managing higher level concepts like timeouts, retries etc.

This article reads like hello world for errors, there is more to it.



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

Search: