Stop Forwarding Errors, Start Designing Them | FastLabs / Blog
It’s 3am. Production is down. You’re staring at a log line that says:
Error: serialization error: expected ',' or '}' at line 3, column 7
You know JSON is broke. But you have zero idea why, where, or who caused it. Was it the config loader? The user API? The webhook consumer?
The error has successfully bubbled up through 20 layers of your stack, preserving its original message perfectly, yet losing every scrap of meaning along the way.
We have a name for this. We call it “Error Handling.” But in...
Read more at fast.github.io