Interface: Failure
A failure as it is stored in history and passed between the SDK, the
service and the workers (11 §2.25). type is the free-form application
type; errorType is always one value of the shared enum.
Properties
category?
optionalcategory?:"BENIGN"
cause?
optionalcause?:Failure
details?
optionaldetails?:Json
errorType
errorType:
ErrorType
message
message:
string
nextRetryDelayMs?
optionalnextRetryDelayMs?:number
Overrides the retry policy's delay for the next attempt only.
nonRetryable?
optionalnonRetryable?:boolean
source?
optionalsource?:string
stackTrace?
optionalstackTrace?:string
timeoutType?
optionaltimeoutType?:string
For timeouts: START_TO_CLOSE, SCHEDULE_TO_START, SCHEDULE_TO_CLOSE, HEARTBEAT, WORKFLOW_RUN, WORKFLOW_EXECUTION.
type?
optionaltype?:string