Class: Ector::Multi::Operation::Error
- Defined in:
- lib/ector-multi/operations.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#fail_fast?, #initialize, #inspect
Constructor Details
This class inherits a constructor from Ector::Multi::Operation::Base
Instance Method Details
#run(results) ⇒ Object
103 104 105 106 107 |
# File 'lib/ector-multi/operations.rb', line 103 def run(results) output = @block.(results) raise Ector::Multi::ControlledFailure.new(self, output) end |