Class: Ibex::GenerationTransaction::Error
- Inherits:
-
Error
- Object
- Error
- Ibex::GenerationTransaction::Error
- Defined in:
- lib/ibex/generation_transaction.rb
Instance Attribute Summary collapse
-
#recovery_artifacts ⇒ Object
readonly
: Array.
-
#rollback_failed ⇒ Object
readonly
: bool.
Instance Method Summary collapse
-
#initialize(message, rollback_failed: false, recovery_artifacts: []) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message, rollback_failed: false, recovery_artifacts: []) ⇒ Error
Returns a new instance of Error.
22 23 24 25 26 |
# File 'lib/ibex/generation_transaction.rb', line 22 def initialize(, rollback_failed: false, recovery_artifacts: []) super() @rollback_failed = rollback_failed @recovery_artifacts = recovery_artifacts.freeze end |
Instance Attribute Details
#recovery_artifacts ⇒ Object (readonly)
: Array
19 20 21 |
# File 'lib/ibex/generation_transaction.rb', line 19 def recovery_artifacts @recovery_artifacts end |
#rollback_failed ⇒ Object (readonly)
: bool
18 19 20 |
# File 'lib/ibex/generation_transaction.rb', line 18 def rollback_failed @rollback_failed end |