Interface GraphQLError


@Experimental public interface GraphQLError
Represents a GraphQL result error, i.e., an entry in the "errors" list.
Since:
7.0
  • Method Details

    • getMessage

      String getMessage()
      Gets the error message.
      Returns:
      the error message
    • getPath

      Gets the error path.
      Returns:
      the optional error path
    • getExtensions

      Optional<Map<String,Object>> getExtensions()
      Gets the error extensions.
      Returns:
      the optional error extensions