arrow-fx / arrow.fx.internal / Platform / composeErrors
fun ~~composeErrors~~(first:
Throwable
, vararg rest:
Throwable
):
Throwable
Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/
fun ~~composeErrors~~(first:
Throwable
, rest:
List
<
Throwable
>):
Throwable
Deprecated: The IO datatype and it’s related type classes will disappear in Arrow 0.13.0. All useful operations are offered directly over suspend functions by Arrow Fx Coroutines. https://arrow-kt.io/docs/fx/async/
Composes multiple errors together, meant for those cases in which error suppression, due to a second error being triggered, is not acceptable.
On top of the JVM this function uses Throwable#addSuppressed, available since Java 7. On top of JavaScript the function would return a CompositeException.
Do you like Arrow?
✖