Hi Jim,
I agree with Barbara and Fabio on this one. In all cases
invalid arguments passed to a function (native or custom written) should generate (throw) an error. This is especially the case where arguments originate within the system and integrity is more easily enforced.
censored.