AggregatedError class
A specific error thrown when context.df.Task.all() fails. Its message contains an aggregation of all the exceptions that failed. It should follow the below format:
context.df.Task.all() encountered the below error messages:
Name: DurableError Message: The activity function "ActivityA" failed. StackTrace:
Name: DurableError Message: The activity function "ActivityB" failed. StackTrace:
- Extends
-
Error
Constructors
Aggregated |
Construct an |
Properties
errors | The list of errors nested inside this |
Inherited Properties
message | |
name | |
prepare |
Optional override for formatting stack traces See https://v8.dev/docs/stack-trace-api#customizing-stack-traces |
stack | |
stack |
Inherited Methods
capture |
Create .stack property on a target object |
Constructor Details
AggregatedError(Error[])
Construct an AggregatedError
using a list of errors
new AggregatedError(errors: Error[])
Parameters
- errors
-
Error[]
List of errors.
Property Details
errors
The list of errors nested inside this AggregatedError
errors: Error[]
Property Value
Error[]
Inherited Property Details
message
message: string
Property Value
string
Inherited From Error.message
name
name: string
Property Value
string
Inherited From Error.name
prepareStackTrace
Optional override for formatting stack traces
See https://v8.dev/docs/stack-trace-api#customizing-stack-traces
static prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any
Property Value
(err: Error, stackTraces: CallSite[]) => any
Inherited From Error.prepareStackTrace
stack
stack?: string
Property Value
string
Inherited From Error.stack
stackTraceLimit
static stackTraceLimit: number
Property Value
number
Inherited From Error.stackTraceLimit
Inherited Method Details
captureStackTrace(object, Function)
Create .stack property on a target object
static function captureStackTrace(targetObject: object, constructorOpt?: Function)
Parameters
- targetObject
-
object
- constructorOpt
-
Function
Inherited From Error.captureStackTrace