com.github.psxpaul.util.ThrowableUtils.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-execfork-plugin Show documentation
Show all versions of gradle-execfork-plugin Show documentation
A gradle plugin to execute applications in the background
package com.github.psxpaul.util
fun rootCauseOf(t:Throwable):Throwable {
val cause: Throwable = t.cause ?: return t
return rootCauseOf(cause)
}