All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.servlet.GraphQLErrorHandler Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package graphql.servlet;

import graphql.GraphQLError;

import java.util.List;

/**
 * @author Andrew Potter
 */
public interface GraphQLErrorHandler {
    default boolean errorsPresent(List errors) {
        return errors != null && !errors.isEmpty();
    }

    List processErrors(List errors);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy