suppressedExceptions

Common
JVM
JS
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.