Package graphql

Class GraphqlErrorBuilder<B extends GraphqlErrorBuilder<B>>

java.lang.Object
graphql.GraphqlErrorBuilder<B>
Type Parameters:
B - this base class allows you to derive new classes from this base error builder
All Implemented Interfaces:
GraphQLError.Builder<B>

@PublicApi public class GraphqlErrorBuilder<B extends GraphqlErrorBuilder<B>> extends Object implements GraphQLError.Builder<B>
This helps you build GraphQLErrors and also has a quick way to make a DataFetcherResults from that error.