I recently change to Spring-boot for development. Can anyone help me to understand better in Spring?
In laravel, there is dd()
function, which is useful to dump variable value. The picture below show the result of dd()
. Can I achieve same thing in Spring?
There is no such behavior, but you can make it similar.
@ExceptionHandler
.@ExceptionHandler
in @ControllerAdvice
.