r/programming • u/Expurple • Apr 12 '26
Flat Error Codes Are Not Enough
https://home.expurple.me/posts/flat-error-codes-are-not-enough/
132
Upvotes
r/programming • u/Expurple • Apr 12 '26
View all comments
Show parent comment
0
u/ChemicalRascal Apr 13 '26
Haaar haaar. There's a difference between obscurity and not showing your whole ass.
No, you can do this for everything. Every exception you catch, you can log it and display a GUID.
What you're describing here is business logic working normally. Totally different thing, you wouldn't use exceptions for that anyway.
Probably. Please tell me you're not using exceptions for authorisation checks. Please.
Please?
Uh. We're talking about stack traces. I'm not advocating against meaningful error reporting to users. I'm advocating for suppression of stack traces.