Exception: Seam::ActionAttemptFailedError
- Inherits:
-
ActionAttemptError
- Object
- StandardError
- ActionAttemptError
- Seam::ActionAttemptFailedError
- Defined in:
- lib/seam/wait_for_action_attempt.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Attributes inherited from ActionAttemptError
Instance Method Summary collapse
-
#initialize(action_attempt) ⇒ ActionAttemptFailedError
constructor
A new instance of ActionAttemptFailedError.
Methods inherited from ActionAttemptError
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., action_attempt) @code = action_attempt.error.type end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
18 19 20 |
# File 'lib/seam/wait_for_action_attempt.rb', line 18 def code @code end |