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 DataFetcherExceptionHandlerGraphQL.Builder. defaultExceptionHandlerMethods in graphql with parameters of type DataFetcherExceptionHandler Modifier and Type Method Description GraphQL.BuilderGraphQL.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 DataFetcherExceptionHandler Modifier and Type Class Description classSimpleDataFetcherExceptionHandlerThe standard handling of data fetcher error involves placing aExceptionWhileDataFetchingerror into the error collectionFields in graphql.execution declared as DataFetcherExceptionHandler Modifier and Type Field Description protected DataFetcherExceptionHandlerExecutionStrategy. dataFetcherExceptionHandlerMethods 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 aDataFetcherExceptionHandlerto better decide what do when a data fetching error happensSubscriptionExecutionStrategy(DataFetcherExceptionHandler dataFetcherExceptionHandler)
-