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

graphql.kickstart.execution.GraphQLErrorQueryResult Maven / Gradle / Ivy

package graphql.kickstart.execution;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

@Getter
@RequiredArgsConstructor
class GraphQLErrorQueryResult implements GraphQLQueryResult {

  private final int statusCode;
  private final String message;

  @Override
  public boolean isBatched() {
    return false;
  }

  @Override
  public boolean isAsynchronous() {
    return false;
  }

  @Override
  public boolean isError() {
    return true;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy