Class: Hopscotch::ErrorValue
- Inherits:
-
Struct
- Object
- Struct
- Hopscotch::ErrorValue
- Defined in:
- lib/hopscotch/error.rb
Overview
‘ErrorValue` denotes an error.
“‘ data ReturnValue = ErrorValue value | value “`
In the context of Ruby and ‘Workflows` this means:
-
a value represents an error iff it is an ‘ErrorValue`
-
otherwise the value represents success
Instance Attribute Summary collapse
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#value ⇒ Object
Returns the value of attribute value
12 13 14 |
# File 'lib/hopscotch/error.rb', line 12 def value @value end |