graphql.servlet.GraphQLErrorHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-servlet Show documentation
Show all versions of graphql-java-servlet Show documentation
relay.js-compatible GraphQL servlet
The 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);
}