Exception: Seam::ActionAttemptFailedError

Inherits:
ActionAttemptError show all
Defined in:
lib/seam/wait_for_action_attempt.rb

Instance Attribute Summary collapse

Attributes inherited from ActionAttemptError

#action_attempt

Instance Method Summary collapse

Methods inherited from ActionAttemptError

#name

Constructor Details

#initialize(action_attempt) ⇒ ActionAttemptFailedError

Returns a new instance of ActionAttemptFailedError.



20
21
22
23
# File 'lib/seam/wait_for_action_attempt.rb', line 20

def initialize(action_attempt)
  super(action_attempt.error.message, action_attempt)
  @code = action_attempt.error.type
end

Instance Attribute Details

#codeObject (readonly)

Returns the value of attribute code.



18
19
20
# File 'lib/seam/wait_for_action_attempt.rb', line 18

def code
  @code
end