Extensions for kotlin.Throwable

rootCause

val Throwable.rootCause: Throwable?

Root cause of the Throwable.