Class: Temporalio::Error::ChildWorkflowError

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

Overview

Error raised on child workflow failure.

Instance Attribute Summary collapse

Instance Attribute Details

#initiated_event_id ⇒ Integer (readonly)

Returns Child workflow initiated event ID.

Returns:

  • (Integer) —

    Child workflow initiated event ID.



245
246
247
# File 'lib/temporalio/error/failure.rb', line 245

def initiated_event_id
  @initiated_event_id
end

#namespace ⇒ String (readonly)

Returns Child workflow namespace.

Returns:

  • (String) —

    Child workflow namespace.



237
238
239
# File 'lib/temporalio/error/failure.rb', line 237

def namespace
  @namespace
end

#retry_state ⇒ RetryState? (readonly)

Returns Retry state.

Returns:



249
250
251
# File 'lib/temporalio/error/failure.rb', line 249

def retry_state
  @retry_state
end

#run_id ⇒ String (readonly)

Returns Child workflow run ID.

Returns:

  • (String) —

    Child workflow run ID.



241
242
243
# File 'lib/temporalio/error/failure.rb', line 241

def run_id
  @run_id
end

#started_event_id ⇒ Integer (readonly)

Returns Child workflow started event ID.

Returns:

  • (Integer) —

    Child workflow started event ID.



247
248
249
# File 'lib/temporalio/error/failure.rb', line 247

def started_event_id
  @started_event_id
end

#workflow_id ⇒ String (readonly)

Returns Child workflow ID.

Returns:

  • (String) —

    Child workflow ID.



239
240
241
# File 'lib/temporalio/error/failure.rb', line 239

def workflow_id
  @workflow_id
end

#workflow_type ⇒ String (readonly)

Returns Child workflow type name.

Returns:

  • (String) —

    Child workflow type name.



243
244
245
# File 'lib/temporalio/error/failure.rb', line 243

def workflow_type
  @workflow_type
end