graphql.kickstart.execution.error.GraphQLErrorHandler Maven / Gradle / Ivy
package graphql.kickstart.execution.error;
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);
}