Exception: CommandTower::Transactional::TransactionFailure
- Inherits:
-
StandardError
- Object
- StandardError
- CommandTower::Transactional::TransactionFailure
- Defined in:
- app/workflows/command_tower/transactional.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ TransactionFailure
constructor
A new instance of TransactionFailure.
Constructor Details
#initialize(result) ⇒ TransactionFailure
Returns a new instance of TransactionFailure.
10 11 12 13 |
# File 'app/workflows/command_tower/transactional.rb', line 10 def initialize(result) @result = result super("transaction failed") end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
8 9 10 |
# File 'app/workflows/command_tower/transactional.rb', line 8 def result @result end |