Class: Ector::Multi::ControlledFailure
- Inherits:
-
OperationFailure
- Object
- OperationFailure
- Ector::Multi::ControlledFailure
- Defined in:
- lib/ector-multi/errors.rb
Instance Attribute Summary
Attributes inherited from OperationFailure
#arguments, #caused_by, #operation
Instance Method Summary collapse
-
#initialize(operation, value) ⇒ ControlledFailure
constructor
A new instance of ControlledFailure.
- #inspect ⇒ Object
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
#inspect ⇒ Object
33 34 35 |
# File 'lib/ector-multi/errors.rb', line 33 def inspect "#<#{self.class.name} #{@operation.name} value=#{@arguments}>" end |