Exception: Rjq::ErrorValue
- Inherits:
-
RuntimeError
- Object
- StandardError
- Error
- RuntimeError
- Rjq::ErrorValue
- Defined in:
- lib/rjq/errors.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from RuntimeError
Instance Method Summary collapse
-
#initialize(value, outputs: nil) ⇒ ErrorValue
constructor
A new instance of ErrorValue.
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
#value ⇒ Object (readonly)
Returns the value of attribute value.
42 43 44 |
# File 'lib/rjq/errors.rb', line 42 def value @value end |