public class ErrorResultHelper extends Object
| Constructor and Description |
|---|
ErrorResultHelper(Config config) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendException(graphql.execution.DataFetcherResult.Builder<Object> resultBuilder,
graphql.schema.DataFetchingEnvironment dfe,
Throwable t) |
void |
appendPartialResult(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) |
public ErrorResultHelper(Config config)
public void appendPartialResult(graphql.execution.DataFetcherResult.Builder<Object> resultBuilder, graphql.schema.DataFetchingEnvironment dfe, org.eclipse.microprofile.graphql.GraphQLException graphQLException)
public List<graphql.GraphQLError> toGraphQLErrors(graphql.schema.DataFetchingEnvironment dfe, Throwable t)
Copyright © 2018–2021. All rights reserved.