Flattening Error Cases in Nested Effects

Hey, what's the best way to flatten an error case? For example I have an Effect<'success', Effect<never, 'error'>> and I want to flatten it to Effect<'success', 'error'>. I see flatMap and flatten but they only seem to apply to the success case, not the error case - is there an equivalent for the error case?
Was this page helpful?