@ExceptionHandler
Marks a method that catches one exception type and returns the error response. It lives in a @RestControllerAdvice class.
Marks a method that catches one exception type and returns the error response. It lives in a @RestControllerAdvice class.