From bae3dcba33e655c0f0de1429c8a375b4d7313bf2 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 7 Aug 2015 10:05:02 +0200 Subject: [PATCH] Polish error pages documentation Make it more clear that the `ErrorPage` path requires an URL mapping to be registered. Closes gh-3698 --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 2faa6e9b9a4..dd1bf5ffa3c 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1390,7 +1390,8 @@ the same data in HTML format (to customize it just add a `View` that resolves to type `ErrorAttributes` to use the existing mechanism but replace the contents. If you want more specific error pages for some conditions, the embedded servlet containers -support a uniform Java DSL for customizing the error handling. For example: +support a uniform Java DSL for customizing the error handling. Assuming that you have a +mapping for `/400`: [source,java,indent=0,subs="verbatim,quotes,attributes"] ----