Skip to main content
Latest
function formatError
import { formatError } from "https://deno.land/x/graphql_deno@v15.0.0/lib/error/formatError.d.ts";

Given a GraphQLError, format it according to the rules described by the Response Format, Errors section of the GraphQL Specification.