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.



231
232
233
# File 'lib/temporalio/error/failure.rb', line 231

def initiated_event_id
  @initiated_event_id
end

#namespaceString (readonly)

Returns Child workflow namespace.

Returns:

  • (String)

    Child workflow namespace.



223
224
225
# File 'lib/temporalio/error/failure.rb', line 223

def namespace
  @namespace
end

#retry_stateRetryState? (readonly)

Returns Retry state.

Returns:



235
236
237
# File 'lib/temporalio/error/failure.rb', line 235

def retry_state
  @retry_state
end

#run_idString (readonly)

Returns Child workflow run ID.

Returns:

  • (String)

    Child workflow run ID.



227
228
229
# File 'lib/temporalio/error/failure.rb', line 227

def run_id
  @run_id
end

#started_event_idInteger (readonly)

Returns Child workflow started event ID.

Returns:

  • (Integer)

    Child workflow started event ID.



233
234
235
# File 'lib/temporalio/error/failure.rb', line 233

def started_event_id
  @started_event_id
end

#workflow_idString (readonly)

Returns Child workflow ID.

Returns:

  • (String)

    Child workflow ID.



225
226
227
# File 'lib/temporalio/error/failure.rb', line 225

def workflow_id
  @workflow_id
end

#workflow_typeString (readonly)

Returns Child workflow type name.

Returns:

  • (String)

    Child workflow type name.



229
230
231
# File 'lib/temporalio/error/failure.rb', line 229

def workflow_type
  @workflow_type
end