Package graphql
Class GraphqlErrorHelper
java.lang.Object
graphql.GraphqlErrorHelper
This little helper allows GraphQlErrors to implement
common things (hashcode/ equals ) and to specification more easily
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanequals(GraphQLError dis, Object o) static inthashCode(GraphQLError dis) static Objectlocation(SourceLocation location) Positive integers starting from 1 required for error locations, from the spec ...static Objectlocations(List<SourceLocation> locations) toSpecification(GraphQLError error)
-
Constructor Details
-
GraphqlErrorHelper
public GraphqlErrorHelper()
-
-
Method Details
-
toSpecification
-
locations
-
location
Positive integers starting from 1 required for error locations, from the spec ...- Parameters:
location- the source location in play- Returns:
- a value for source location of the error
-
hashCode
-
equals
-