Options
All
  • Public
  • Public/Protected
  • All
Menu

An error, which is thrown if a least one execution failed.

Type parameters

  • T = any

Hierarchy

  • Error
    • PartlyFailedError

Index

Constructors

  • new PartlyFailedError<T>(succeeded: T[], lastError: any, message?: string): PartlyFailedError<T>
  • Initializes a new instance of that class.

    Type parameters

    • T = any

    Parameters

    • succeeded: T[]

      The list of succeeded results.

    • lastError: any

      The inner error.

    • Optional message: string

    Returns PartlyFailedError<T>

Properties

lastError: any
message: string
name: string
stack?: string
succeeded: T[]
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