3 ms·
A descriptive error message beats any stack trace. A stack trace does not actually tell you anything that's particularly interesting, there is a ton of irreleva
by philozzzozzz 3y ago
A descriptive error message beats any stack trace. A stack trace does not actually tell you anything that's particularly interesting, there is a ton of irrelevant information and it's generally missing the values bound to the arguments and variables.
- za3faran 3y agoYou can add context to a stack trace. So it's strictly a super set. And seeing the code path taken to the error is anything but irrelevant.