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 boolean
equals
(GraphQLError dis, Object o) static int
hashCode
(GraphQLError dis) static Object
location
(SourceLocation location) Positive integers starting from 1 required for error locations, from the spec ...static Object
locations
(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
-