Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorType ¶
type ErrorType string
const ( CustomError ErrorType = "The failure is caused by a specific custom error returned from the service code" GenericError ErrorType = "The failure is because of an error returned from the service code" PanicError ErrorType = "The failure is caused by a panic in the service code" TimeoutError ErrorType = "The failure is caused by a timeout during the execution" )
type Failure ¶
Failure is an invariant that will be used to identify the different failures in the workflow execution history
func NewInvariant ¶
type FailureMetadata ¶
type FailureMetadata struct { Identity string ActivityScheduled *types.ActivityTaskScheduledEventAttributes ActivityStarted *types.ActivityTaskStartedEventAttributes }
type FailureType ¶
type FailureType string
const ( ActivityFailed FailureType = "Activity Failed" WorkflowFailed FailureType = "Workflow Failed" )
func (FailureType) String ¶
func (f FailureType) String() string
type Params ¶
type Params struct { WorkflowExecutionHistory *types.GetWorkflowExecutionHistoryResponse Domain string }
Click to show internal directories.
Click to hide internal directories.