Interface GraphQLRequestExecutionExceptionInterface

All Known Implementing Classes:
GraphQLRequestExecutionException, GraphQLRequestExecutionUncheckedException

public interface GraphQLRequestExecutionExceptionInterface
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves the data part of the response: it may contain valid data, even if when the server sent errors back, for instance if multiple fields of a query or a mutation are requested
    List<org.springframework.graphql.ResponseError>
    Allows to retrieve the list of error that have been received from the GraphQL server
    org.springframework.graphql.client.ClientGraphQlResponse
    Get the full server response, for further investigation.
  • Method Details

    • getErrors

      List<org.springframework.graphql.ResponseError> getErrors()
      Allows to retrieve the list of error that have been received from the GraphQL server
    • getData

      Object getData()
      Retrieves the data part of the response: it may contain valid data, even if when the server sent errors back, for instance if multiple fields of a query or a mutation are requested
    • getResponse

      org.springframework.graphql.client.ClientGraphQlResponse getResponse()
      Get the full server response, for further investigation.
      Returns: