Uses of Interface
graphql.execution.DataFetcherExceptionHandler
-
Packages that use DataFetcherExceptionHandler Package Description graphql graphql.execution -
-
Uses of DataFetcherExceptionHandler in graphql
Fields in graphql declared as DataFetcherExceptionHandler Modifier and Type Field Description private DataFetcherExceptionHandler
GraphQL.Builder. defaultExceptionHandler
Methods in graphql with parameters of type DataFetcherExceptionHandler Modifier and Type Method Description GraphQL.Builder
GraphQL.Builder. defaultDataFetcherExceptionHandler(DataFetcherExceptionHandler dataFetcherExceptionHandler)
This allows you to set a defaultDataFetcherExceptionHandler
that will be used to handle exceptions that happen inDataFetcher
invocations. -
Uses of DataFetcherExceptionHandler in graphql.execution
Classes in graphql.execution that implement DataFetcherExceptionHandler Modifier and Type Class Description class
SimpleDataFetcherExceptionHandler
The standard handling of data fetcher error involves placing aExceptionWhileDataFetching
error into the error collectionFields in graphql.execution declared as DataFetcherExceptionHandler Modifier and Type Field Description protected DataFetcherExceptionHandler
ExecutionStrategy. dataFetcherExceptionHandler
Methods in graphql.execution with parameters of type DataFetcherExceptionHandler Modifier and Type Method Description private <T> java.util.concurrent.CompletableFuture<T>
ExecutionStrategy. asyncHandleException(DataFetcherExceptionHandler handler, DataFetcherExceptionHandlerParameters handlerParameters)
Constructors in graphql.execution with parameters of type DataFetcherExceptionHandler Constructor Description AbstractAsyncExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
AsyncExecutionStrategy(DataFetcherExceptionHandler exceptionHandler)
Creates a execution strategy that uses the provided exception handlerAsyncSerialExecutionStrategy(DataFetcherExceptionHandler exceptionHandler)
ExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
The consumers of the execution strategy can pass in aDataFetcherExceptionHandler
to better decide what do when a data fetching error happensSubscriptionExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
-