Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • ApolloError

Index

Constructors

  • new ApolloError(__namedParameters: { errorMessage?: string; extraInfo?: any; graphQLErrors?: readonly GraphQLError[]; networkError?: Error }): ApolloError
  • Parameters

    • __namedParameters: { errorMessage?: string; extraInfo?: any; graphQLErrors?: readonly GraphQLError[]; networkError?: Error }
      • Optional errorMessage?: string
      • Optional extraInfo?: any
      • Optional graphQLErrors?: readonly GraphQLError[]
      • Optional networkError?: Error

    Returns ApolloError

Properties

extraInfo: any
graphQLErrors: readonly GraphQLError[]
message: string
name: string
networkError: Error
stack?: string
stackTraceLimit: number

Methods

  • captureStackTrace(targetObject: <internal>.Object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    Returns void

  • prepareStackTrace(err: Error, stackTraces: CallSite[]): any

Generated using TypeDoc