danielgerlag/workflow-core

when we stop the workflow by OnError,But I'd like to know how can't I make the ErrorStatus happen If I don't want to throw an exception

FusionFury opened this issue · 2 comments

Hello,I am a new learner for this project. In these samples. I find that we stop the flow by OnError. But In the samples.I can only transform to ErrorState by throw exceptions. I'd like to know that Can I transform to ErrorState byself in the Steps.

If it's convenient,may some sample code can be offered?