@Incubating public interface ProblemBuilderDefiningCategory
Problem
instance builder requiring the specification of the problem category.Modifier and Type | Method | Description |
---|---|---|
ProblemBuilder |
category(java.lang.String category,
java.lang.String... details) |
Declares the problem category.
|
ProblemBuilder category(java.lang.String category, java.lang.String... details)
Problem
.
The `ProblemCategory` then represents a local category with some namespace, distinguishing built-in and third-party categories.
Example:
category("validation", "missing-input")
category
- the type namedetails
- the type detailsProblemCategory