response.text I see this type Effect.Effect<string, ResponseError, never>, but when used inside Effect.gen(function* () {}) like the above, I don't get ResponseError in the type. It is like the Error type is eaten. The only reason that I have stumbled upon this is because for some reason after upgrading this started throwing an ResposeError with reason Decode