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

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy