functions. Allow errors to come from the step function (a new capability). Ticket #1632. (CVS 2981) FossilOrigin-Name: fd4a6bb1ac94d085dda247799c0a5c64aaeec046