Package graphql

Class GraphqlErrorHelper


  • public class GraphqlErrorHelper
    extends java.lang.Object
    This little helper allows GraphQlErrors to implement common things (hashcode/ equals ) and to specification more easily
    • Constructor Detail

      • GraphqlErrorHelper

        public GraphqlErrorHelper()
    • Method Detail

      • toSpecification

        public static java.util.Map<java.lang.String,​java.lang.Object> toSpecification​(GraphQLError error)
      • locations

        public static java.lang.Object locations​(java.util.List<SourceLocation> locations)
      • location

        public static java.lang.Object location​(SourceLocation location)
      • hashCode

        public static int hashCode​(GraphQLError dis)
      • equals

        public static boolean equals​(GraphQLError dis,
                                     java.lang.Object o)