On this page

createGraphQLError

The createGraphQLError function exported by @graphql-tools/utils.

createGraphQLError(message, options?): GraphQLError

Defined in: packages/utils/src/errors.ts:49

Parameters

message

string

options?

GraphQLErrorOptions

Returns

GraphQLError