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



193
194
195
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 193

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

Instance Attribute Details

#errorObject (readonly)

Returns the value of attribute error.



191
192
193
# File 'lib/temporalio/internal/worker/multi_runner.rb', line 191

def error
  @error
end