Uses of Interface
graphql.execution.DataFetcherExceptionHandler
Packages that use DataFetcherExceptionHandler
-
Uses of DataFetcherExceptionHandler in graphql
Fields in graphql declared as DataFetcherExceptionHandlerModifier and TypeFieldDescriptionprivate DataFetcherExceptionHandler
GraphQL.Builder.defaultExceptionHandler
Methods in graphql with parameters of type DataFetcherExceptionHandlerModifier and TypeMethodDescriptionGraphQL.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 DataFetcherExceptionHandlerModifier and TypeClassDescriptionclass
The standard handling of data fetcher error involves placing aExceptionWhileDataFetching
error into the error collectionFields in graphql.execution declared as DataFetcherExceptionHandlerModifier and TypeFieldDescriptionprotected final DataFetcherExceptionHandler
ExecutionStrategy.dataFetcherExceptionHandler
Methods in graphql.execution with parameters of type DataFetcherExceptionHandlerModifier and TypeMethodDescriptionprivate <T> CompletableFuture
<T> ExecutionStrategy.asyncHandleException
(DataFetcherExceptionHandler handler, DataFetcherExceptionHandlerParameters handlerParameters) Constructors in graphql.execution with parameters of type DataFetcherExceptionHandlerModifierConstructorDescriptionAbstractAsyncExecutionStrategy
(DataFetcherExceptionHandler dataFetcherExceptionHandler) AsyncExecutionStrategy
(DataFetcherExceptionHandler exceptionHandler) Creates a execution strategy that uses the provided exception handlerAsyncSerialExecutionStrategy
(DataFetcherExceptionHandler exceptionHandler) protected
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)