Skip to main content
function formatError
Deprecated
Deprecated

Please use error.toJSON instead. Will be removed in v17

import { formatError } from "https://deno.land/x/kilatgraphql@16.6.0/mod.ts";

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