Class SentryDataFetcherExceptionResolverAdapter

java.lang.Object
org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
io.sentry.spring.graphql.SentryDataFetcherExceptionResolverAdapter
All Implemented Interfaces:
org.springframework.graphql.execution.DataFetcherExceptionResolver

@Internal public final class SentryDataFetcherExceptionResolverAdapter extends org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
  • Constructor Details

    • SentryDataFetcherExceptionResolverAdapter

      public SentryDataFetcherExceptionResolverAdapter()
  • Method Details

    • isThreadLocalContextAware

      public boolean isThreadLocalContextAware()
      Overrides:
      isThreadLocalContextAware in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
    • resolveToSingleError

      @Nullable protected @Nullable graphql.GraphQLError resolveToSingleError(Throwable ex, graphql.schema.DataFetchingEnvironment env)
      Overrides:
      resolveToSingleError in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
    • resolveToMultipleErrors

      @Nullable protected @Nullable List<graphql.GraphQLError> resolveToMultipleErrors(Throwable ex, graphql.schema.DataFetchingEnvironment env)
      Overrides:
      resolveToMultipleErrors in class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter