Package io.sentry.spring.jakarta.graphql
Class SentryDataFetcherExceptionResolverAdapter
java.lang.Object
org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
io.sentry.spring.jakarta.graphql.SentryDataFetcherExceptionResolverAdapter
- All Implemented Interfaces:
org.springframework.graphql.execution.DataFetcherExceptionResolver
@Internal
public final class SentryDataFetcherExceptionResolverAdapter
extends org.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
protected @Nullable List<graphql.GraphQLError>
resolveToMultipleErrors
(Throwable ex, graphql.schema.DataFetchingEnvironment env) protected @Nullable graphql.GraphQLError
resolveToSingleError
(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:
isThreadLocalContextAware
in classorg.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
resolveToSingleError
@Nullable protected @Nullable graphql.GraphQLError resolveToSingleError(Throwable ex, graphql.schema.DataFetchingEnvironment env) - Overrides:
resolveToSingleError
in classorg.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-
resolveToMultipleErrors
@Nullable protected @Nullable List<graphql.GraphQLError> resolveToMultipleErrors(Throwable ex, graphql.schema.DataFetchingEnvironment env) - Overrides:
resolveToMultipleErrors
in classorg.springframework.graphql.execution.DataFetcherExceptionResolverAdapter
-