Hi. In Prefect 1 we use `ENDRUN` exception to fail...
# prefect-community
Hi. In Prefect 1 we use
exception to fail and do not retry the task, does it exist in Prefect 2?
👀 1
Hello! There are many end state use cases that determine the state, outlined here. Additionally, in Prefect 2.0, an exception that is raised within the flow function will cause it to fail. Hope this helps!
How about tasks with retries? I think raise exception will not fail, but will retry.