Handling Expected Errors and Flattening Result Channels
I have an expected error
I'm sure I'm missing something simple here on how I can succeed with a new effect, and then flatten the result channel out, at the moment I'm finding the effect unioned with
Effect.Effect<Ctx, GitError, StatusResult>, that depending on some async user interaction I want to either continue or re-fail with the same errorI'm sure I'm missing something simple here on how I can succeed with a new effect, and then flatten the result channel out, at the moment I'm finding the effect unioned with
StatusResult and not sure how to flatten Effect.Effect<a, b,c> | StatusResult to c | StatusResult