Class: WorkflowFailure
Base class of every failure that crosses the history boundary.
Extends
Error
Extended by
ActivityFailureApplicationErrorCancelledFailureChildRunFailureServerFailureTerminatedFailureTimeoutFailure
Constructors
Constructor
new WorkflowFailure(
message,errorType,options?):WorkflowFailure
Parameters
message
string
errorType
options?
cause?
unknown
Returns
WorkflowFailure
Overrides
Error.constructor
Properties
cause?
optionalcause?:unknown
Inherited from
Error.cause
errorType
readonlyerrorType:ErrorType
The shared error type the engine classifies this failure as.
message
message:
string
Inherited from
Error.message
name
name:
string
Inherited from
Error.name
stack?
optionalstack?:string
Inherited from
Error.stack