Yeah as you were typing I had a similar thought, as then you'd need to handle retries for the "failu

Yeah as you were typing I had a similar thought, as then you'd need to handle retries for the "failure step handlers" and it might get a bit confusing - perhaps just in the docs it might be good to have your example to document it for steps, and then yeah for overall workflows it'd be lovely to have a failure handler ๐Ÿค“

I guess for now... could you literally wrap the entire
run
function in try/catch and that would effectively act as a "on failure" handler? As it'd catch any step failure after retries based on what you said
Was this page helpful?