GraphQLException constructor

const GraphQLException(
  1. List<GraphQLError> errors
)

An exception that occurs during execution of a GraphQL query.

It's a list of GraphQLError

Implementation

const GraphQLException(this.errors);