Package io.sentry.spring.graphql
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected @Nullable List<graphql.GraphQLError>resolveToMultipleErrors(Throwable ex, graphql.schema.DataFetchingEnvironment env) protected @Nullable graphql.GraphQLErrorresolveToSingleError(Throwable ex, graphql.schema.DataFetchingEnvironment env) Methods inherited from class org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
from, resolveException, setThreadLocalContextAware
-
Constructor Details
-
SentryDataFetcherExceptionResolverAdapter
public SentryDataFetcherExceptionResolverAdapter()
-
-
Method Details
-
isThreadLocalContextAware
public boolean isThreadLocalContextAware()- Overrides:
isThreadLocalContextAwarein classorg.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
resolveToSingleError
@Nullable protected @Nullable graphql.GraphQLError resolveToSingleError(Throwable ex, graphql.schema.DataFetchingEnvironment env) - Overrides:
resolveToSingleErrorin classorg.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
resolveToMultipleErrors
@Nullable protected @Nullable List<graphql.GraphQLError> resolveToMultipleErrors(Throwable ex, graphql.schema.DataFetchingEnvironment env) - Overrides:
resolveToMultipleErrorsin classorg.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-