File tree Expand file tree Collapse file tree
problem4j-core/src/main/java/io/github/problem4j/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -255,7 +255,8 @@ protected void applyExtensionsOnBuilder(
255255 *
256256 * <ul>
257257 * <li>{@code message} - throwable message
258- * <li>{@code context.traceId} - trace ID from context
258+ * <li>{@code {context.*}} -> value from {@link ProblemContext} included in {@link
259+ * ProblemMapper} methods
259260 * <li>Any other token - value of a matching field in the throwable class hierarchy
260261 * </ul>
261262 *
Original file line number Diff line number Diff line change 3131 *
3232 * <ul>
3333 * <li>{@code {message}} -> the exception's {@link Throwable#getMessage()}
34- * <li>{@code {context.traceId }} -> the traceId from {@code ProblemContext#getTraceId()} (special
35- * shorthand)
34+ * <li>{@code {context.* }} -> value from {@link ProblemContext} included in {@link ProblemMapper}
35+ * methods
3636 * <li>{@code {fieldName}} -> value of any field (private or public) in the exception class
3737 * hierarchy
3838 * <li>Any placeholder that resolves to null or an empty string is ignored in the final output
9494 *
9595 * <ul>
9696 * <li>{@code {message}} -> exception message
97- * <li>{@code {context.traceId}} -> trace ID from {@code ProblemContext}
97+ * <li>{@code {context.*}} -> value from {@link ProblemContext} included in {@link
98+ * ProblemMapper} methods
9899 * <li>{@code {fieldName}} -> value of any field in the exception class hierarchy
99100 * </ul>
100101 *
You can’t perform that action at this time.
0 commit comments