Re:Code Design Decision – Always throw custom exceptions
by lmm on Monday December 19, 2022 @10:38PM
(#34061231)
> Really don't think an extra trace in the stack is a reason to not create a well defined contract.
It absolutely is IMO. Stack traces are the main reason to use exceptions at all, and having multiple layers of useless wrapping around them is one of the biggest frustrations when trying to understand and debug an issue.
It absolutely is IMO. Stack traces are the main reason to use exceptions at all, and having multiple layers of useless wrapping around them is one of the biggest frustrations when trying to understand and debug an issue.