Preferred constructor for variants that require extra fields beyond
kind and message — unresolved-ref, non-numeric, and
propagated. Building the variant object explicitly forces every
required field (the ref on the reference variants, the cause on
propagated) to be present at the call site, surfacing missing
data as a compile error rather than as a silent runtime hole.
Construct an error FormulaResult from a fully built FormulaError variant.
Remarks
Preferred constructor for variants that require extra fields beyond
kindandmessage—unresolved-ref,non-numeric, andpropagated. Building the variant object explicitly forces every required field (therefon the reference variants, thecauseonpropagated) to be present at the call site, surfacing missing data as a compile error rather than as a silent runtime hole.