Handling Errors with `Effect`: FlatMap vs. Catch and Fail

Is there a way to flatMap an error with
Effect
? Like I want to execute some effectful code to change the shape of an error. Should I catch and fail instead?
Was this page helpful?