Uses of Class
graphql.GraphqlErrorBuilder
Packages that use GraphqlErrorBuilder
-
Uses of GraphqlErrorBuilder in graphql
Classes in graphql with type parameters of type GraphqlErrorBuilderModifier and TypeClassDescriptionclass
GraphqlErrorBuilder<B extends GraphqlErrorBuilder<B>>
This helps you buildGraphQLError
s and also has a quick way to make aDataFetcherResult
s from that error.Methods in graphql that return GraphqlErrorBuilderModifier and TypeMethodDescriptionstatic GraphqlErrorBuilder
<?> GraphqlErrorBuilder.newError()
static GraphqlErrorBuilder
<?> GraphqlErrorBuilder.newError
(DataFetchingEnvironment dataFetchingEnvironment) This will set up theGraphQLError.getLocations()
andGraphQLError.getPath()
for you from the fetching environment.