Exception: VoidUsedOutsideTaggedSet
- Inherits:
-
BareException
- Object
- StandardError
- BareException
- VoidUsedOutsideTaggedSet
- Defined in:
- lib/exceptions.rb
Instance Method Summary collapse
-
#initialize(msg = "Any type which is ultimately a void type (either directly or through user-defined types) may not be used as an optional type, struct member, array member, or map key or value. Void types may only be used as members of the set of types in a tagged union.") ⇒ VoidUsedOutsideTaggedSet
constructor
A new instance of VoidUsedOutsideTaggedSet.
Constructor Details
#initialize(msg = "Any type which is ultimately a void type (either directly or through user-defined types) may not be used as an optional type, struct member, array member, or map key or value. Void types may only be used as members of the set of types in a tagged union.") ⇒ VoidUsedOutsideTaggedSet
Returns a new instance of VoidUsedOutsideTaggedSet.
45 46 47 |
# File 'lib/exceptions.rb', line 45 def initialize(msg = "Any type which is ultimately a void type (either directly or through user-defined types) may not be used as an optional type, struct member, array member, or map key or value. Void types may only be used as members of the set of types in a tagged union.") super end |