GraphQLError constructor

GraphQLError({
  1. String? message,
  2. List<String> path = const [],
})

Returns a new GraphQLError instance.

Implementation

GraphQLError({
  this.message,
  this.path = const [],
});