Class: ActivityExecutionFailedError
Thrown by the ActivityClient while waiting on Activity execution result if execution completes with failure.
The failure is stored in the cause property.
Extends
Error
Constructors
Constructor
new ActivityExecutionFailedError(
message,cause,activityId,runId?):ActivityExecutionFailedError
Parameters
message
string
cause
Error | undefined
activityId
string
runId?
string
Returns
ActivityExecutionFailedError
Overrides
Error.constructor
Properties
activityId
readonlyactivityId:string
cause
readonlycause:Error|undefined
Overrides
Error.cause
message
message:
string
Inherited from
Error.message
name
name:
string
Inherited from
Error.name
runId?
readonlyoptionalrunId?:string
stack?
optionalstack?:string
Inherited from
Error.stack
stackTraceLimit
staticstackTraceLimit:number
The Error.stackTraceLimit property specifies the number of stack frames
collected by a stack trace (whether generated by new Error().stack or
Error.captureStackTrace(obj)).
The default value is 10 but may be set to any valid JavaScript number. Changes
will affect any stack trace captured after the value has been changed.
If set to a non-number value, or set to a negative number, stack traces will not capture any frames.