diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 14522cd3a71..a30c3514bd9 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2035,7 +2035,7 @@ particular controller and/or exception type. ---- In the example above, if `YourException` is thrown by a controller defined in the same -package as `FooController`, a json representation of the `CustomerErrorType` POJO will be +package as `FooController`, a json representation of the `CustomErrorType` POJO will be used instead of the `ErrorAttributes` representation.