Exception: DurableFlow::WaitTimeoutError
- Defined in:
- lib/durable_flow/errors.rb
Instance Attribute Summary collapse
-
#event_name ⇒ Object
readonly
Returns the value of attribute event_name.
-
#step_name ⇒ Object
readonly
Returns the value of attribute step_name.
Instance Method Summary collapse
-
#initialize(event_name:, step_name:) ⇒ WaitTimeoutError
constructor
A new instance of WaitTimeoutError.
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_name ⇒ Object (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_name ⇒ Object (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 |