News for hackers. Stuff that matters.
Re:Use Your Type System by yardstick on Thursday July 24, 2025 @03:54PM (#44675267)
In my experience, the top level exception handler will catch all incl Throwable, and then inspect the exception class and any nested exception classes for things like SQL error or MyPermissionsException etc and return the politically correct error to the end user. And if the exception isn’t in a whitelist of ones we don’t need to log, we log it to our application log.

There are no comments on this comment yet.