Class FederationError

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
com.apollographql.federation.graphqljava.FederationError
All Implemented Interfaces:
graphql.GraphQLError, Serializable

public class FederationError extends graphql.GraphQLException implements graphql.GraphQLError
See Also:
  • Method Details

    • getLocations

      public List<graphql.language.SourceLocation> getLocations()
      Specified by:
      getLocations in interface graphql.GraphQLError
    • getErrorType

      public graphql.ErrorClassification getErrorType()
      Specified by:
      getErrorType in interface graphql.GraphQLError