Class GraphQLRequestError<TData>

Type Parameters

  • TData = Record<string, unknown>

Hierarchy

  • Error
    • GraphQLRequestError

Constructors

Properties

json?: unknown
message: string
name: string
response: Response
result?: ExecutionResult<TData, ObjMap<unknown>>
stack?: string
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void