//arrow-fx-coroutines/arrow.fx.coroutines/Platform

Platform

common object Platform

Functions

Name Summary
composeErrors common fun composeErrors(all: NonEmptyList<Throwable>): Throwable
fun composeErrors(first: Throwable, res: Result<Any?>): Throwable
common fun composeErrors(all: List<Throwable>): Throwable?
fun composeErrors(first: Throwable, vararg rest: Throwable): Throwable
fun composeErrors(first: Throwable, other: Throwable?): Throwable
fun composeErrors(first: Throwable, rest: List<Throwable>): Throwable
@JvmName(name = “composeErrorsNullable”)
fun composeErrors(first: Throwable?, other: Throwable?): Throwable?
Composes multiple errors together, meant for those cases in which error suppression, due to a second error being triggered, is not acceptable.

Do you like Arrow?

Arrow Org
<