import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { formatError } = GraphQL;
Given a GraphQLError, format it according to the rules described by the Response Format, Errors section of the GraphQL Specification.
Parameters
error: GraphQLError