Error containing one or more nested errors, including TaskError, other TasksError, or general Error instances.

Hierarchy

  • Error
    • TasksError

Constructors

Properties

errors: (Error | TaskError | TasksError)[]

Array of errors, which can include TaskError, TasksError, or general Error instances.

message: string
name: string
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