danielgerlag / 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

Open
#1,159 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
5.9k
Forks
1.3k
Avg merge
1d 1h
Merged PRs (30d)
5

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.