Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eximius
9 months ago
|
parent
|
context
|
favorite
| on:
Better Error Handling
The three things I wish were more standardized in the languages I use are
1. Stacktraces with fields/context besides a string 2. Wrapping errors 3. Combining multiple errors
pyfon
9 months ago
[–]
Observability tools give you this (as long as it can be handled and isn't a straight up panic).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
1. Stacktraces with fields/context besides a string 2. Wrapping errors 3. Combining multiple errors