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.



209
210
211
# File 'lib/temporalio/error/failure.rb', line 209

def initiated_event_id
  @initiated_event_id
end

#namespaceString (readonly)

Returns Child workflow namespace.

Returns:

  • (String)

    Child workflow namespace.



201
202
203
# File 'lib/temporalio/error/failure.rb', line 201

def namespace
  @namespace
end

#retry_stateRetryState? (readonly)

Returns Retry state.

Returns:



213
214
215
# File 'lib/temporalio/error/failure.rb', line 213

def retry_state
  @retry_state
end

#run_idString (readonly)

Returns Child workflow run ID.

Returns:

  • (String)

    Child workflow run ID.



205
206
207
# File 'lib/temporalio/error/failure.rb', line 205

def run_id
  @run_id
end

#started_event_idInteger (readonly)

Returns Child workflow started event ID.

Returns:

  • (Integer)

    Child workflow started event ID.



211
212
213
# File 'lib/temporalio/error/failure.rb', line 211

def started_event_id
  @started_event_id
end

#workflow_idString (readonly)

Returns Child workflow ID.

Returns:

  • (String)

    Child workflow ID.



203
204
205
# File 'lib/temporalio/error/failure.rb', line 203

def workflow_id
  @workflow_id
end

#workflow_typeString (readonly)

Returns Child workflow type name.

Returns:

  • (String)

    Child workflow type name.



207
208
209
# File 'lib/temporalio/error/failure.rb', line 207

def workflow_type
  @workflow_type
end