Skip to content

Commit 875037c

Browse files
committed
Merge branch '6.1.x'
2 parents 35e8ae2 + 68a3993 commit 875037c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: framework-docs/modules/ROOT/pages/web/webmvc/mvc-ann-rest-exceptions.adoc

+4-2
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,11 @@ message code arguments for the "detail" field. `ResponseEntityExceptionHandler`
8383
these through a xref:core/beans/context-introduction.adoc#context-functionality-messagesource[MessageSource]
8484
and updates the corresponding `ProblemDetail` fields accordingly.
8585

86-
The default strategy for message codes follows the pattern:
86+
The default strategy for message codes is as follows:
8787

88-
`problemDetail.[type|title|detail].[fully qualified exception class name]`
88+
* "type": `problemDetail.type.[fully qualified exception class name]`
89+
* "title": `problemDetail.title.[fully qualified exception class name]`
90+
* "detail": `problemDetail.[fully qualified exception class name][suffix]`
8991

9092
An `ErrorResponse` may expose more than one message code, typically adding a suffix
9193
to the default message code. The table below lists message codes, and arguments for

0 commit comments

Comments
 (0)