Better error message for all nulls in sum type