@RestControllerAdvice
Marks a class whose @ExceptionHandler methods apply to every controller. It is the one place that turns exceptions into error responses.
Marks a class whose @ExceptionHandler methods apply to every controller. It is the one place that turns exceptions into error responses.