Exception: Rjq::ErrorValue

Inherits:
RuntimeError show all
Defined in:
lib/rjq/errors.rb

Instance Attribute Summary collapse

Attributes inherited from RuntimeError

#outputs

Instance Method Summary collapse

Methods inherited from RuntimeError

#prepend_outputs, #take_outputs

Constructor Details

#initialize(value, outputs: nil) ⇒ ErrorValue

Returns a new instance of ErrorValue.



44
45
46
47
48
# File 'lib/rjq/errors.rb', line 44

def initialize(value, outputs: nil)
  @value = value
  super(value.to_s)
  prepend_outputs(outputs)
end

Instance Attribute Details

#valueObject (readonly)

Returns the value of attribute value.



42
43
44
# File 'lib/rjq/errors.rb', line 42

def value
  @value
end