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.
|
java.util.List<Error> |
getErrors() |
HttpRequest<?> |
getRequest() |
java.util.Optional<java.lang.Throwable> |
getRootCause() |
default boolean |
hasErrors() |
@NonNull HttpRequest<?> getRequest()
@NonNull java.util.Optional<java.lang.Throwable> getRootCause()
default boolean hasErrors()
@NonNull static ErrorContext.Builder builder(@NonNull HttpRequest<?> request)
request
- The request