formatError
deprecatedGiven a GraphQLError, format it according to the rules described by the Response Format, Errors section of the GraphQL Specification.
@deprecated
Please use error.toJSON
instead. Will be removed in v17
§
formatError(error: GraphQLError): GraphQLFormattedError
[src]§Parameters
§
error: GraphQLError
[src]