Exception: OmniService::Transaction::Halt
- Inherits:
-
StandardError
- Object
- StandardError
- OmniService::Transaction::Halt
- Defined in:
- lib/omni_service/transaction.rb
Overview
Internal exception to trigger transaction rollback on component failure.
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ Halt
constructor
A new instance of Halt.
Constructor Details
#initialize(result) ⇒ Halt
Returns a new instance of Halt.
36 37 38 39 |
# File 'lib/omni_service/transaction.rb', line 36 def initialize(result) @result = result super end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
34 35 36 |
# File 'lib/omni_service/transaction.rb', line 34 def result @result end |