Re:Code Design Decision – Always throw custom exceptions
by stickfigure on Monday December 19, 2022 @11:56AM
(#34054380)
And 99.9% of the time the client is just going to catch generic Exception and doesn't care what the type is. Rollback a transaction, return 500 or display an error dialog. Done. It doesn't matter what the client library thinks.
[ Parent
| on HN ]
There are no comments on this comment yet.