GraphQLResponseError constructor

const GraphQLResponseError({
  1. required String message,
  2. List<GraphQLResponseErrorLocation>? locations,
  3. List? path,
  4. Map<String, dynamic>? extensions,
  5. String? errorType,
  6. Map<String, dynamic>? errorInfo,
})

Contains an error produced via a GraphQL invocation. Corresponds to one entry in the errors field on a GraphQL response.

locations and path may be null.

Implementation

const GraphQLResponseError({
  required this.message,
  this.locations,
  this.path,
  this.extensions,
  this.errorType,
  this.errorInfo,
});