I have a flow which could possible throw an error like so:
val myFlow = flow { emit("1") delay(2000) emit("2") delay(2000)