Class ErrorResultHelper
- java.lang.Object
-
- io.smallrye.graphql.execution.datafetcher.helper.ErrorResultHelper
-
public class ErrorResultHelper extends Object
Helping with PartialResults- Author:
- Phillip Kruger (phillip.kruger@redhat.com)
-
-
Constructor Summary
Constructors Constructor Description ErrorResultHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendException(graphql.execution.DataFetcherResult.Builder<Object> resultBuilder, graphql.schema.DataFetchingEnvironment dfe, Throwable t)voidappendPartialResult(graphql.execution.DataFetcherResult.Builder<Object> resultBuilder, graphql.schema.DataFetchingEnvironment dfe, org.eclipse.microprofile.graphql.GraphQLException graphQLException)List<graphql.GraphQLError>toGraphQLErrors(graphql.schema.DataFetchingEnvironment dfe, Throwable t)
-
-
-
Method Detail
-
appendPartialResult
public void appendPartialResult(graphql.execution.DataFetcherResult.Builder<Object> resultBuilder, graphql.schema.DataFetchingEnvironment dfe, org.eclipse.microprofile.graphql.GraphQLException graphQLException)
-
toGraphQLErrors
public List<graphql.GraphQLError> toGraphQLErrors(graphql.schema.DataFetchingEnvironment dfe, Throwable t)
-
-