public interface ErrorContext
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ErrorContext.Builder
A builder for a
ErrorContext. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorContext.Builder |
builder(HttpRequest<?> request)
Create a new context builder.
|
List<Error> |
getErrors() |
HttpRequest<?> |
getRequest() |
Optional<Throwable> |
getRootCause() |
default boolean |
hasErrors() |
@NonNull HttpRequest<?> getRequest()
default boolean hasErrors()
@NonNull static ErrorContext.Builder builder(@NonNull HttpRequest<?> request)
request - The request