Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DispatchError<Job, Result>

Type parameters

  • Job

  • Result

Hierarchy

  • Error
    • DispatchError

Index

Constructors

  • new DispatchError<Job, Result>(errors: readonly Error[], tasks: SociablyTask<Job>[], jobs: Job[], results: readonly (void | Result)[]): DispatchError<Job, Result>

Properties

errors: readonly Error[]
jobs: Job[]
message: string
name: string
results: readonly (void | Result)[]
stack?: string
tasks: SociablyTask<Job>[]
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

stackTraceLimit: number

Methods

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

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc