Uses of Class
graphql.GraphqlErrorBuilder
-
Packages that use GraphqlErrorBuilder Package Description graphql -
-
Uses of GraphqlErrorBuilder in graphql
Classes in graphql with type parameters of type GraphqlErrorBuilder Modifier and Type Class Description class
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 GraphqlErrorBuilder Modifier and Type Method Description static GraphqlErrorBuilder<?>
GraphqlErrorBuilder. newError()
static GraphqlErrorBuilder<?>
GraphqlErrorBuilder. newError(DataFetchingEnvironment dataFetchingEnvironment)
This will set up theGraphQLError.getLocations()
andGraphQLError.getPath()
for you from the fetching environment.
-