@PublicSpi public interface DataFetcherExceptionHandler
DataFetcher.get(DataFetchingEnvironment) execution| Modifier and Type | Method and Description |
|---|---|
DataFetcherExceptionHandlerResult |
onException(DataFetcherExceptionHandlerParameters handlerParameters)
When an exception during a call to a
DataFetcher then this handler
is called back to shape the error that should be placed in the list of errors |
DataFetcherExceptionHandlerResult onException(DataFetcherExceptionHandlerParameters handlerParameters)
DataFetcher then this handler
is called back to shape the error that should be placed in the list of errorshandlerParameters - the parameters to this callbackGraphQLErrors