Merge branch '2.6.x' into 2.7.x

Closes gh-30528
This commit is contained in:
Moritz Halbritter
2022-04-04 14:22:49 +02:00
4 changed files with 6 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ The first step to customizing this feature often involves using the existing mec
For that, you can add a bean of type `ErrorAttributes`.
To change the error handling behavior, you can implement `ErrorWebExceptionHandler` and register a bean definition of that type.
Because a `ErrorWebExceptionHandler` is quite low-level, Spring Boot also provides a convenient `AbstractErrorWebExceptionHandler` to let you handle errors in a WebFlux functional way, as shown in the following example:
Because an `ErrorWebExceptionHandler` is quite low-level, Spring Boot also provides a convenient `AbstractErrorWebExceptionHandler` to let you handle errors in a WebFlux functional way, as shown in the following example:
include::code:MyErrorWebExceptionHandler[]