arrow-fx-coroutines / arrow.fx.coroutines.stream / Stream / raiseError

raiseError

fun <O> raiseError(err: Throwable): Stream<O>

Creates a Stream that, when run, fails with the supplied exception err.

Do you like Arrow?

Arrow Org
<