Interface ErrorContext
public interface ErrorContext
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ErrorContext.Builder
builder
(@NonNull HttpRequest<?> request) Create a new context builder.default boolean
-
Method Details
-
getRequest
- Returns:
- The request that caused the error
-
getRootCause
- Returns:
- The optional root cause exception
-
getErrors
- Returns:
- The errors
-
hasErrors
default boolean hasErrors()- Returns:
- True if there are errors present
-
builder
Create a new context builder.- Parameters:
request
- The request- Returns:
- A new context builder
-