assertk.assertions / rootCause

rootCause

fun Assert<Throwable>.rootCause(): Assert<Throwable>

Platform and version requirements: Common

Returns an assert on the throwable's root cause.