kotlin.addSuppressed
addSuppressed
fun Throwable.addSuppressed(exception: Throwable)
Platform and version requirements: JVM
When supported by the platform adds the specified exception to the list of exceptions that were suppressed in order to deliver this exception.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/add-suppressed.html