Handling Specific Error Tags and Continuing Execution in Effect Workflow
Hello team,
How can I handle a specific error tag in an existing Effect workflow and continue the execution flow with a replacement value?
Specifically, given an Effect that performs multiple steps and can fail with tagged errors, I want to:
1. Catch a specific error tag from outside the workflow
2. Replace the failed step's value with a fix
3. Continue executing the remaining steps of the original workflow
Example:
I don't have access to modify the original workflow's implementation - I need to handle this 'from the outside'.
How can I handle a specific error tag in an existing Effect workflow and continue the execution flow with a replacement value?
Specifically, given an Effect that performs multiple steps and can fail with tagged errors, I want to:
1. Catch a specific error tag from outside the workflow
2. Replace the failed step's value with a fix
3. Continue executing the remaining steps of the original workflow
Example:
I don't have access to modify the original workflow's implementation - I need to handle this 'from the outside'.
