Exception: DurableFlow::WaitTimeoutError

Inherits:
Error
  • Object
show all
Defined in:
lib/durable_flow/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(event_name:, step_name:) ⇒ WaitTimeoutError

Returns a new instance of WaitTimeoutError.



11
12
13
14
15
# File 'lib/durable_flow/errors.rb', line 11

def initialize(event_name:, step_name:)
  @event_name = event_name
  @step_name = step_name
  super("Timed out waiting for event #{event_name.inspect} in step #{step_name.inspect}")
end

Instance Attribute Details

#event_nameObject (readonly)

Returns the value of attribute event_name.



9
10
11
# File 'lib/durable_flow/errors.rb', line 9

def event_name
  @event_name
end

#step_nameObject (readonly)

Returns the value of attribute step_name.



9
10
11
# File 'lib/durable_flow/errors.rb', line 9

def step_name
  @step_name
end