Class: Temporalio::Internal::Worker::MultiRunner::Event::BlockFailure

Inherits:
Temporalio::Internal::Worker::MultiRunner::Event show all
Defined in:
lib/temporalio/internal/worker/multi_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error:) ⇒ BlockFailure

rubocop:disable Lint/MissingSuper



149
150
151
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 149

def initialize(error:) # rubocop:disable Lint/MissingSuper
  @error = error
end

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



147
148
149
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 147

def error
  @error
end