Platform

object Platform

Deprecated

Niche use-case, prefer using higher level operators or addSuppressed from Kotlin Std

Functions

Link copied to clipboard
fun composeErrors(all: NonEmptyList<Throwable>): Throwable

fun composeErrors(first: Throwable, vararg rest: 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.