class VoidUsedOutsideTaggedSet

Public Class Methods

new(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.") click to toggle source
Calls superclass method BareException::new
# File lib/exceptions.rb, line 27
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