Class: Ector::Multi::ControlledFailure

Inherits:
OperationFailure show all
Defined in:
lib/ector-multi/errors.rb

Instance Attribute Summary

Attributes inherited from OperationFailure

#arguments, #caused_by, #operation

Instance Method Summary collapse

Constructor Details

#initialize(operation, value) ⇒ ControlledFailure

Returns a new instance of ControlledFailure.



29
30
31
# File 'lib/ector-multi/errors.rb', line 29

def initialize(operation, value)
  super(operation, value, nil)
end

Instance Method Details

#inspectObject



33
34
35
# File 'lib/ector-multi/errors.rb', line 33

def inspect
  "#<#{self.class.name} #{@operation.name} value=#{@arguments}>"
end