UI Deploy

Curated, Short, Web UI Dev we Love.

Opinionated look at error handling in NodeJS

I came across pieces of code in the app codebase I work on quite a few times which seem wonky, to say the least. In an event that there's an error, a callback should return the error object and only the error object.

view source

Advertisement