suppressedExceptions
Platform and version requirements: JVM (1.4), JS (1.4), Native (1.4)
val Throwable.suppressedExceptions: List<Throwable>
For Common, JVM
Returns a list of all exceptions that were suppressed in order to deliver this exception.
The list can be empty:
- if no exceptions were suppressed;
- if the platform doesn't support suppressed exceptions;
- if this Throwable instance has disabled the suppression.
For JS, Native
Returns a list of all exceptions that were suppressed in order to deliver this exception.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/suppressed-exceptions.html