Exception: Temporalio::Error::ChildWorkflowError

Inherits:
Failure show all
Defined in:
lib/temporalio/error/failure.rb

Overview

Error raised on child workflow failure.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Temporalio::Error

canceled?

Instance Attribute Details

#initiated_event_idInteger (readonly)

Returns Child workflow initiated event ID.

Returns:

  • (Integer)

    Child workflow initiated event ID.



191
192
193
# File 'lib/temporalio/error/failure.rb', line 191

def initiated_event_id
  @initiated_event_id
end

#namespaceString (readonly)

Returns Child workflow namespace.

Returns:

  • (String)

    Child workflow namespace.



183
184
185
# File 'lib/temporalio/error/failure.rb', line 183

def namespace
  @namespace
end

#retry_stateRetryState? (readonly)

Returns Retry state.

Returns:



195
196
197
# File 'lib/temporalio/error/failure.rb', line 195

def retry_state
  @retry_state
end

#run_idString (readonly)

Returns Child workflow run ID.

Returns:

  • (String)

    Child workflow run ID.



187
188
189
# File 'lib/temporalio/error/failure.rb', line 187

def run_id
  @run_id
end

#started_event_idInteger (readonly)

Returns Child workflow started event ID.

Returns:

  • (Integer)

    Child workflow started event ID.



193
194
195
# File 'lib/temporalio/error/failure.rb', line 193

def started_event_id
  @started_event_id
end

#workflow_idString (readonly)

Returns Child workflow ID.

Returns:

  • (String)

    Child workflow ID.



185
186
187
# File 'lib/temporalio/error/failure.rb', line 185

def workflow_id
  @workflow_id
end

#workflow_typeString (readonly)

Returns Child workflow type name.

Returns:

  • (String)

    Child workflow type name.



189
190
191
# File 'lib/temporalio/error/failure.rb', line 189

def workflow_type
  @workflow_type
end