Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
serguzest
6 months ago
|
parent
|
context
|
favorite
| on:
Modern Node.js Patterns
Most people (including the author apparently) don't know they can chain errors with cause option in-built way in node and in browser. It is not just arbitrary extending and it is relatively a new thing.
https://nodejs.org/api/errors.html#errorcause
seniorsassycat
5 months ago
[–]
I've found that a lot of logging frameworks and patterns will not include cause which can absolutely fuck debugging
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: