Uses of Interface
graphql.execution.DataFetcherExceptionHandler
Packages that use DataFetcherExceptionHandler
-
Uses of DataFetcherExceptionHandler in graphql
Fields in graphql declared as DataFetcherExceptionHandlerModifier and TypeFieldDescriptionprivate DataFetcherExceptionHandlerGraphQL.Builder.defaultExceptionHandlerMethods in graphql with parameters of type DataFetcherExceptionHandlerModifier and TypeMethodDescriptionGraphQL.Builder.defaultDataFetcherExceptionHandler(DataFetcherExceptionHandler dataFetcherExceptionHandler) This allows you to set a defaultDataFetcherExceptionHandlerthat will be used to handle exceptions that happen inDataFetcherinvocations. -
Uses of DataFetcherExceptionHandler in graphql.execution
Classes in graphql.execution that implement DataFetcherExceptionHandlerModifier and TypeClassDescriptionclassThe standard handling of data fetcher error involves placing aExceptionWhileDataFetchingerror into the error collectionFields in graphql.execution declared as DataFetcherExceptionHandlerModifier and TypeFieldDescriptionprotected final DataFetcherExceptionHandlerExecutionStrategy.dataFetcherExceptionHandlerMethods 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) protectedExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler) The consumers of the execution strategy can pass in aDataFetcherExceptionHandlerto better decide what do when a data fetching error happensSubscriptionExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)