January 28, 2024
In this talk, Kito Mann guide us in the way to handle exceptions.
1) don't eat your exception; catch it, log it, and tell the user
2) if you can't recover it, don't catch it
3) Throw meaningful exceptions: set a message, use a relevant exception type
4) SpringBoot: ErrorController to centralize exception handling