public interface ExecutionContext
GraphQL execution context to support partial results.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Whether an exception was set on this context.Retrieve partial resultsThrowable
.void
partialResultsException
(Throwable throwable) Add a partial resultsThrowable
.
-
Method Details
-
partialResultsException
Add a partial resultsThrowable
.- Parameters:
throwable
-Throwable
-
partialResultsException
Throwable partialResultsException()Retrieve partial resultsThrowable
.- Returns:
- the
Throwable
-
hasPartialResultsException
boolean hasPartialResultsException()Whether an exception was set on this context.- Returns:
- true if there was a partial results exception
-