Exception: ChainReactor::ReactionError
- Inherits:
-
StandardError
- Object
- StandardError
- ChainReactor::ReactionError
- Defined in:
- lib/chain-reactor/reaction.rb
Overview
Raised if there’s an error running a reaction.
This is a simple wrapper around the originally raised exception.
Instance Attribute Summary collapse
-
#original_exception ⇒ Object
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(original_exception) ⇒ ReactionError
constructor
A new instance of ReactionError.
Constructor Details
#initialize(original_exception) ⇒ ReactionError
Returns a new instance of ReactionError.
8 9 10 11 |
# File 'lib/chain-reactor/reaction.rb', line 8 def initialize(original_exception) @original_exception = original_exception super(original_exception.) end |
Instance Attribute Details
#original_exception ⇒ Object
Returns the value of attribute original_exception.
7 8 9 |
# File 'lib/chain-reactor/reaction.rb', line 7 def original_exception @original_exception end |