Class InputMapDefinesTooManyFieldsException

  • All Implemented Interfaces:
    GraphQLError, java.io.Serializable

    @PublicApi
    public class InputMapDefinesTooManyFieldsException
    extends GraphQLException
    implements GraphQLError
    https://facebook.github.io/graphql/#sec-Input-Objects - This unordered map should not contain any entries with names not defined by a field of this input object type, otherwise an error should be thrown.
    See Also:
    Serialized Form
    • Constructor Detail

      • InputMapDefinesTooManyFieldsException

        public InputMapDefinesTooManyFieldsException​(GraphQLType graphQLType,
                                                     java.lang.String fieldName)
    • Method Detail

      • getLocations

        public java.util.List<SourceLocation> getLocations()
        Specified by:
        getLocations in interface GraphQLError
        Returns:
        the location(s) within the GraphQL document at which the error occurred. Each SourceLocation describes the beginning of an associated syntax element