Class: ActivityFailure
The final failure of an activity, after its retries. cause is the last
attempt's failure. A user activity has an empty nodeType, its
name as operation and as activityName.
Extends
Constructors
Constructor
new ActivityFailure(
message,activityId,nodeType,operation,cause,activityName?):ActivityFailure
Parameters
message
string
activityId
string
nodeType
string
operation
string
cause
Error
activityName?
string
Returns
ActivityFailure
Overrides
Properties
activityId
readonlyactivityId:string
activityName?
readonlyoptionalactivityName?:string
cause?
optionalcause?:unknown
Inherited from
errorType
readonlyerrorType:ErrorType
The shared error type the engine classifies this failure as.
Inherited from
message
message:
string
Inherited from
name
name:
string
Inherited from
nodeType
readonlynodeType:string
operation
readonlyoperation:string
stack?
optionalstack?:string