News for hackers. Stuff that matters.
Re:Code Design Decision – Always throw custom exceptions by charcircuit on Monday December 19, 2022 @12:06PM (#34054514)
4. When you catch the third party exception you typically throw away the stack trace which can make it harder to debug.
Re:Code Design Decision – Always throw custom exceptions by hbrn on Monday December 19, 2022 @01:38PM (#34055797)
All languages I know of have ways to preserve stack trace. That said, engineers tend to forget about it, so it is somewhat valid.