Idiomatic error handling in `Effect.gen`: explicit return vs. yield without return

Within an Effect.gen, is it more idiomatic to explicitly return on errors return yield* new MyError() or to just yield them omitting the return statement yield* new MyError().
Was this page helpful?